rootfsinstall.sh: update command line for Baytrail kernel and make chpass usage pwdutils compatible
This commit is contained in:
parent
3bdcf49802
commit
c6d71f5faa
@ -414,7 +414,7 @@ if [ "${SAVE_ROOT_PARTUUID}" -a "${GROWIMAGE}" ]; then
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
if [ "$SETUSERPASSWORD" ]; then
|
if [ "$SETUSERPASSWORD" ]; then
|
||||||
echo "$SETUSERPASSWORD" | chroot $ROOTMP chpasswd -m || {
|
echo "$SETUSERPASSWORD" | chroot $ROOTMP chpasswd -c MD5 || {
|
||||||
echo "ERROR: unable to set user password; aborting."
|
echo "ERROR: unable to set user password; aborting."
|
||||||
exit 1
|
exit 1
|
||||||
}
|
}
|
||||||
@ -498,7 +498,7 @@ search --no-floppy --label --set=root $VOLUME_LABEL
|
|||||||
|
|
||||||
menuentry "default" {
|
menuentry "default" {
|
||||||
echo "Loading /boot/$KERNELDEST"
|
echo "Loading /boot/$KERNELDEST"
|
||||||
linux /boot/$KERNELDEST root=/dev/sda2 ro intel_idle.max_cstate=1 intel_pstate=disabled fbcon=rotate:1 quiet splash
|
linux /boot/$KERNELDEST root=/dev/sda2 ro fbcon=rotate:1 quiet splash
|
||||||
echo "Loading /boot/$INITRAMFSDEST"
|
echo "Loading /boot/$INITRAMFSDEST"
|
||||||
initrd /boot/$INITRAMFSDEST
|
initrd /boot/$INITRAMFSDEST
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user