|
|
@ -37,7 +37,7 @@ cp -a chroot/* mountpoint/
|
|
|
|
umount mountpoint
|
|
|
|
umount mountpoint
|
|
|
|
rmdir mountpoint
|
|
|
|
rmdir mountpoint
|
|
|
|
|
|
|
|
|
|
|
|
case $architecture in
|
|
|
|
case $ARCH in
|
|
|
|
amd64|i386) should_install_grub=1;;
|
|
|
|
amd64|i386) should_install_grub=1;;
|
|
|
|
*) should_install_grub=0;;
|
|
|
|
*) should_install_grub=0;;
|
|
|
|
esac
|
|
|
|
esac
|
|
|
@ -60,7 +60,7 @@ if [ "${should_install_grub}" -eq 1 ]; then
|
|
|
|
rmdir mountpoint
|
|
|
|
rmdir mountpoint
|
|
|
|
fi
|
|
|
|
fi
|
|
|
|
|
|
|
|
|
|
|
|
if [ "$architecture" = "s390x" ]; then
|
|
|
|
if [ "$ARCH" = "s390x" ]; then
|
|
|
|
# Do ZIPL install bits
|
|
|
|
# Do ZIPL install bits
|
|
|
|
mkdir mountpoint
|
|
|
|
mkdir mountpoint
|
|
|
|
mount_partition "${rootfs_dev_mapper}" mountpoint
|
|
|
|
mount_partition "${rootfs_dev_mapper}" mountpoint
|
|
|
|