注:そこそこエラー出るけどとりあえずISOファイルはできた。
sudo apt install -y syslinux-utils
# hybridISO作るなら
$ diff /usr/lib/uck/remaster-live-cd.sh ~/tmp/backup/remaster-live-cd.sh
359c359
< cp -f /etc/resolv.conf "$REMASTER_DIR/etc/resolv.conf" ||
---
> cp -d /etc/resolv.conf "$REMASTER_DIR/etc/resolv.conf" ||
368c368
< cp -f /etc/fstab "$REMASTER_DIR/etc/fstab" ||
---
> cp -d /etc/fstab "$REMASTER_DIR/etc/fstab" ||
370c370
< cp -f /etc/mtab "$REMASTER_DIR/etc/mtab" ||
---
> cp -d /etc/mtab "$REMASTER_DIR/etc/mtab" ||
$ diff /usr/lib/uck/customization-profiles/localized_cd/customize_iso ~/tmp/backup/customization-profiles/localized_cd/customize_iso
84,85c84,86
< GFXBOOT_THEME_UBUNTU_SOURCE_PACKAGE=http://archive.ubuntu.com/ubuntu/ubuntu/ubuntu/pool/main/g/gfxboot-theme-ubuntu/$(zgrep gz "$APT_SOURCES_TMP_DIR"/Sources.gz | grep gfxboot-theme-ubuntu | sed -n 1p | awk '{ print $3 }')
< wget $GFXBOOT_THEME_UBUNTU_SOURCE_PACKAGE ||
---
> GFXBOOT_THEME_UBUNTU_FNAME=`zgrep tar "$APT_SOURCES_TMP_DIR"/Sources.gz | grep gfxboot-theme-ubuntu | sed -n 1p | awk '{ print $3 }'`
> GFXBOOT_THEME_UBUNTU_SOURCE_PACKAGE=http://archive.ubuntu.com/ubuntu/ubuntu/ubuntu/pool/main/g/gfxboot-theme-ubuntu/"$GFXBOOT_THEME_UBUNTU_FNAME"
> wget -c $GFXBOOT_THEME_UBUNTU_SOURCE_PACKAGE -O "$APT_SOURCES_TMP_DIR"/"$GFXBOOT_THEME_UBUNTU_FNAME" ||
87c88
< tar xfz *.tar.gz ||
---
> tar Jxvf "$APT_SOURCES_TMP_DIR"/"$GFXBOOT_THEME_UBUNTU_FNAME" -C "$APT_SOURCES_TMP_DIR" ||
92c93,94
< cd gfxboot-theme-ubuntu
---
> GFXBOOT_THEME_FOLDER=`ls -l "$APT_SOURCES_TMP_DIR" | grep ^d | awk '{ print $9 }'`
> cd "$APT_SOURCES_TMP_DIR"/"$GFXBOOT_THEME_FOLDER"
$ diff /usr/lib/uck/customization-profiles/localized_cd/customize ~/tmp/backup/customization-profiles/localized_cd/customize
136a137
> echo "Starting manual customization...."
138,142d138
< while true ; do
< CHOICE_CONSOLE="Run console application"
< CHOICE_EXIT="Continue building"
< CHOICE=`dialog_menu "Please choose customization action" "$CHOICE_CONSOLE" "$CHOICE_EXIT"`
< RESULT=$?
144,148c140
< if [ -z $CHOICE ] ; then
< failure "Script cancelled by user"
< fi
< #workaround for KDE bug (https://bugs.kde.org/show_bug.cgi?id=139025)
< CHOICE=`echo "$CHOICE" | grep -v -i kwrited | tail -n1`
---
> run_console
150c142,144
< echo "CHOICE='$CHOICE'"
---
> echo "Run console application"
> echo "Please run chroot at remaster-root on theother terminal"
> read -p "Press [Enter] key to resume."
152,157d145
< if [ "$CHOICE" = "$CHOICE_EXIT" ] ; then
< break
< elif [ "$CHOICE" = "$CHOICE_CONSOLE" ] ; then
< run_console
< fi
< done
手抜き工事:ui表示させたりターミナル開こうとするとエラーが出るので