comment out boot.txt part, since it's not used by any supported device

This commit is contained in:
Dan Johansen 2021-03-25 19:32:57 +01:00
parent d09185fe2d
commit af6e80de58
No known key found for this signature in database
GPG Key ID: 084A7FC0035B1D49
1 changed files with 3 additions and 2 deletions

View File

@ -228,8 +228,9 @@ create_install() {
sed -i 's/setenv bootargs "/&rootflags=subvol=@ /' $TMPDIR/root/boot/uEnv.ini
elif [ -f $TMPDIR/root/boot/cmdline.txt ]; then
sed -i 's/root=LABEL=ROOT_MNJRO/& rootflags=subvol=@/' $TMPDIR/root/boot/cmdline.txt
elif [ -f $TMPDIR/root/boot/boot.txt ]; then
sed -i 's/setenv bootargs/& rootflags=subvol=@/' $TMPDIR/root/boot/boot.txt
#elif [ -f $TMPDIR/root/boot/boot.txt ]; then
# sed -i 's/setenv bootargs/& rootflags=subvol=@/' $TMPDIR/root/boot/boot.txt
# $NSPAWN $TMPDIR/root mkimage -A arm -O linux -T script -C none -n "U-Boot boot script" -d /boot/boot.txt /boot/boot.scr
fi
fi