[PATCH] tar2fs: add support efi
Anton Midyukov
antohami at altlinux.org
Tue Dec 17 11:03:11 MSK 2019
---
bin/tar2fs | 91 ++++++++++++++++++++++++++++++++++++++++++++++++------
1 file changed, 81 insertions(+), 10 deletions(-)
diff --git a/bin/tar2fs b/bin/tar2fs
index 8436ee20c2..d110bc6579 100755
--- a/bin/tar2fs
+++ b/bin/tar2fs
@@ -30,6 +30,8 @@ CUR_BOUNDARY=0 # align first partition at 1MB for performance (+1)
BOOTFSTYPE=
BOOTPART=
+EFIPARTFSTYPE=
+EFIPART=
BOOTLOADER="$5"
@@ -50,7 +52,14 @@ ppc*)
ROOTPART="2"
;;
*)
- ROOTPART="1"
+ if [ "$BOOTLOADER" == grub-efi ]; then
+ EFIPART="1"
+ EFIPARTSIZEM="256"
+ EFIPARTFSTYPE="fat"
+ ROOTPART="2"
+ else
+ ROOTPART="1"
+ fi
BLOCKDEV="/dev/sda"
;;
esac
@@ -82,9 +91,14 @@ mkpart() {
CUR_BOUNDARY="$(($start + $1))"
local end="$CUR_BOUNDARY"MiB
else
- local end="-1s" # last sector of the image
+ local end="$OFFSET"MiB # last sector of the image
fi
- parting mkpart primary ext2 "$start"MiB "$end"
+ if [ -n "$2" ]; then
+ CUR_FS="$2"
+ else
+ CUR_FS=ext2
+ fi
+ parting mkpart primary "$CUR_FS" "$start"MiB "$end"
}
# a tarball containing chroot with a kernel
@@ -118,7 +132,8 @@ ROOTFSTYPE="${4:-ext4}"
ROOTDEV="$BLOCKDEV$ROOTPART"
# last preparations...
-MKFS="mkfs.$ROOTFSTYPE ${BOOTFSTYPE:+mkfs.$BOOTFSTYPE}"
+MKFS="mkfs.$ROOTFSTYPE ${BOOTFSTYPE:+mkfs.$BOOTFSTYPE} \
+ ${EFIPARTFSTYPE:+mkfs.$EFIPARTFSTYPE}"
for i in losetup sfdisk parted kpartx $MKFS; do
if ! type -t "$i" >&/dev/null; then
fatal "$i required but not found in host system"
@@ -129,15 +144,20 @@ LOOPDEV="$(losetup --find)" # would be sad about non-binary megabytes too
ROOTFS="$WORKDIR/chroot"
BOOTFS=
+EFIPARTFS=
if [ -n "$BOOTPART" ]; then
BOOTFS="$ROOTFS/boot"
fi
+if [ -n "$EFIPART" ]; then
+ EFIPARTFS="$ROOTFS/boot/efi"
+fi
exit_handler() {
rc=$?
cd /
if [ -n "$ROOTFS" ]; then
- umount ${BOOTFS:+"$BOOTFS"} "$ROOTFS"{/dev,/proc,/sys,}
+ umount ${EFIPARTFS:+"$EFIPARTFS"} ${BOOTFS:+"$BOOTFS"} \
+ "$ROOTFS"{/dev,/proc,/sys,}
if [ -n "$LOOPDEV" ]; then
kpartx -d -s "$LOOPDEV" || {
@@ -157,12 +177,15 @@ trap exit_handler EXIT ERR
# prepare disk image and a filesystem inside it
rm -f -- "$IMG"
-
-OFFSET="$(($CUR_BOUNDARY + $BOOTLOADERPARTSIZEM + $BOOTSIZEM + $ROOTSIZEM - 1))"
+OFFSET="$(($CUR_BOUNDARY + $EFIPARTSIZEM + $BOOTLOADERPARTSIZEM + $BOOTSIZEM + $ROOTSIZEM - 1))"
dd if=/dev/zero of="$IMG" conv=notrunc bs=$MB count=1 seek="$OFFSET"
losetup "$LOOPDEV" "$IMG"
-parting mklabel msdos
+if [ "$BOOTLOADER" == grub-efi ]; then
+ parting mklabel gpt
+else
+ parting mklabel msdos
+fi
if [ -n "$BOOTLOADERPART" ] && [ -n "$BOOTLOADERPARTSIZEM" ]; then
case "$ARCH" in
@@ -175,6 +198,14 @@ if [ -n "$BOOTLOADERPART" ] && [ -n "$BOOTLOADERPARTSIZEM" ]; then
esac
fi
+if [ -n "$EFIPART" ]; then
+ EFIDEV="$EFIDEV$EFIPART"
+ parting mkpart fat32 2048s ${EFIPARTSIZEM}M
+ CUR_BOUNDARY="$(($CUR_BOUNDARY + $EFIPARTSIZEM))"
+ parting set 1 boot on
+ parting set 1 esp on
+fi
+
if [ -n "$BOOTPART" ]; then
BOOTDEV="$BLOCKDEV$BOOTPART"
mkpart "$BOOTSIZEM"
@@ -197,6 +228,11 @@ if [ -n "$BOOTLOADERPART" ] && [ -n "$BOOTLOADERPARTSIZEM" ]; then
LOOPBOOTLOADER="/dev/mapper/$(basename "$LOOPDEV")p$BOOTLOADERPART"
fi
+if [ -n "$EFIPART" ]; then
+ LOOPEFI="/dev/mapper/$(basename "$LOOPDEV")p$EFIPART"
+ mkfs.fat -F32 "$LOOPEFI"
+fi
+
ROOTUUID="$(blkid -s UUID -o value -c /dev/null "$LOOPROOT")"
if [ -n "$ROOTUUID" ]; then
ROOTDEV="UUID=$ROOTUUID"
@@ -206,11 +242,18 @@ fi
if [ -n "$BOOTPART" ]; then
BOOTUUID="$(blkid -s UUID -o value -c /dev/null "$LOOPBOOT")"
- if [ -n "$ROOTUUID" ]; then
+ if [ -n "$BOOTUUID" ]; then
BOOTDEV="UUID=$BOOTUUID"
fi
fi
+if [ -n "$EFIPART" ]; then
+ EFIUUID="$(blkid -s UUID -o value -c /dev/null "$LOOPEFI")"
+ if [ -n "$EFIUUID" ]; then
+ EFIDEV="UUID=$EFIUUID"
+ fi
+fi
+
# mount and populate it
mkdir -pm755 "$ROOTFS"
mount "$LOOPROOT" "$ROOTFS"
@@ -220,6 +263,11 @@ if [ -n "$BOOTPART" ]; then
mount "$LOOPBOOT" "$BOOTFS"
fi
+if [ -n "$EFIPART" ]; then
+ mkdir -pm751 "$EFIPARTFS"
+ mount "$LOOPEFI" "$EFIPARTFS"
+fi
+
tar -C "$ROOTFS" --numeric-owner -xf "$TAR"
for i in /dev /proc /sys; do mount --bind "$i" "$ROOTFS$i"; done
@@ -234,6 +282,9 @@ fi
if [ -n "$BOOTPART" ]; then
echo "$BOOTDEV /boot $BOOTFSTYPE defaults 1 2" >> "$ROOTFS/etc/fstab"
fi
+if [ -n "$EFIPART" ]; then
+ echo "$EFIDEV /boot/efi vfat umask=0,quiet,showexec,iocharset=utf8,codepage=866 1 2" >> "$ROOTFS/etc/fstab"
+fi
# Query ARCH in chroot and redefine arch-dependent variable
ARCH="$(chroot "$ROOTFS" rpm --eval '%_host_cpu')"
@@ -323,13 +374,33 @@ image=/boot/vmlinuz
;;
grub-efi)
chroot "$ROOTFS" grub-mkconfig -o /boot/grub/grub.cfg
- chroot "$ROOTFS" grub-install
+ case "$ARCH" in
+ *86)
+ chroot "$ROOTFS" grub-install --target=i386-efi --removable
+ sed -i 's/initrd16/initrdefi/g' "$ROOTFS/boot/grub/grub.cfg"
+ sed -i 's/linux16/linuxefi/g' "$ROOTFS/boot/grub/grub.cfg"
+ ;;
+ x86_64)
+ chroot "$ROOTFS" grub-install --target=i386-efi --removable
+ chroot "$ROOTFS" grub-install --target=x86_64-efi --removable
+ sed -i 's/initrd16/initrdefi/g' "$ROOTFS/boot/grub/grub.cfg"
+ sed -i 's/linux16/linuxefi/g' "$ROOTFS/boot/grub/grub.cfg"
+ ;;
+ aarch64)
+ chroot "$ROOTFS" grub-install --target=arm64-efi --removable
+ ;;
+ armh)
+ chroot "$ROOTFS" grub-install --target=arm-efi --removable
+ ;;
+ esac
;;
grub)
chroot "$ROOTFS" grub-mkconfig -o /boot/grub/grub.cfg
case "$ARCH" in
*86*)
chroot "$ROOTFS" grub-install --target=i386-pc "$LOOPDEV"
+ sed -i 's/initrdefi/initrd16/g' "$ROOTFS/boot/grub/grub.cfg"
+ sed -i 's/linuxefi/linux16/g' "$ROOTFS/boot/grub/grub.cfg"
;;
ppc*)
[ -z "$LOOPBOOTLOADER" ] ||
--
2.24.1
--------------A1FCB4F734D5A2EC97FD6110
Content-Type: text/plain; charset=UTF-8;
name="tar2fs"
Content-Transfer-Encoding: base64
Content-Disposition: attachment;
filename="tar2fs"
IyEvYmluL2Jhc2ggLWV4CiMgdXNhZ2U6CiMgdGFyMmZzIGNocm9vdC50YXIgaW1hZ2UucmF3
IFtzaXplX2luX2J5dGVzIFtmc3R5cGVdXQoKLiBzaGVsbC1lcnJvcgpleHBvcnQgTEFORz1D
CgppZiBbICQjIC1sdCAyIF07IHRoZW4KCWZhdGFsICJl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ZCB0byBjaHJv
b3Q7CiMgdGhpcyBpcyBubyBsb25nZXIgbmVjZXNzYXJ5LCByZW1vdmUKcm0gLXJmICIkUk9P
VEZTIi8uaG9zdCB8fDoK
--------------A1FCB4F734D5A2EC97FD6110--
More information about the devel-distro
mailing list