partition_setup.sh: Don't cut off parameters added by pix-plym-splash

This commit is contained in:
Serge Schneider 2016-11-29 14:42:14 +00:00
parent 21a681692a
commit 848cbf48a0

View File

@ -17,7 +17,7 @@ sed /tmp/2/etc/fstab -i -e "s|^.* / |${part2} / |"
sed /tmp/2/etc/fstab -i -e "s|^.* /boot |${part1} /boot |" sed /tmp/2/etc/fstab -i -e "s|^.* /boot |${part1} /boot |"
if ! grep -q resize /proc/cmdline; then if ! grep -q resize /proc/cmdline; then
sed -i 's/ quiet init=.*$//' /tmp/1/cmdline.txt sed -i 's| quiet init=/usr/lib/raspi-config/init_resize.sh||' /tmp/1/cmdline.txt
fi fi
umount /tmp/1 umount /tmp/1