[arch-releng] [archiso] Two new patches
Hello, (yes: I'm alive again <g>) Fixed 2 problems found when building a test iso yesterday. Regards Gerhard
Option syntax for quiet mode in mkisofs has changed. --- archiso/mkarchiso | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/archiso/mkarchiso b/archiso/mkarchiso index 9ed73ff..530403c 100755 --- a/archiso/mkarchiso +++ b/archiso/mkarchiso @@ -245,7 +245,7 @@ command_iso () { echo "Creating ISO image..." qflag="" - [ "${QUIET}" = "y" ] && qflag="-q" + [ "${QUIET}" = "y" ] && qflag="-quiet" mkisofs ${qflag} -r -l $bootflags -uid 0 -gid 0 \ -input-charset utf-8 -p "prepared by mkarchiso" \ -no-emul-boot -boot-load-size 4 -boot-info-table \ -- 1.6.3.1
Current version of aufs2 need a other syntax for adding/appending a branch. --- archiso/hooks/archiso | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/archiso/hooks/archiso b/archiso/hooks/archiso index cf3b161..d779478 100644 --- a/archiso/hooks/archiso +++ b/archiso/hooks/archiso @@ -33,7 +33,7 @@ _mnt_squashfs() fi /bin/mount -r -t squashfs "/dev/loop${LOOP_NUM}" "/tmpfs/mnt/loop${LOOP_NUM}" if [ "${mnt}" = "/" ]; then - /bin/mount -t aufs -o remount,add=:/tmpfs/mnt/loop${LOOP_NUM}=ro none "/real_root" + /bin/mount -t aufs -o remount,append:/tmpfs/mnt/loop${LOOP_NUM}=ro none "/real_root" else _mnt_bind "/tmpfs/mnt/loop${LOOP_NUM}" "${mnt}" fi -- 1.6.3.1
participants (1)
-
Gerhard Brauer