This repository was archived by the owner on Nov 1, 2023. It is now read-only.
File tree 2 files changed +3
-3
lines changed
2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -56,7 +56,7 @@ mkdir -p $rootfs_work/boot/efi
56
56
mount --bind $boot_dir $rootfs_work /boot/efi
57
57
mount --rbind /proc $rootfs_work /proc
58
58
mount --rbind /sys $rootfs_work /sys
59
- SYSTEMD_ESP_PATH=/boot/efi chroot $rootfs_work bootctl --no-variables install
59
+ SYSTEMD_ESP_PATH=/boot/efi chroot $rootfs_work /usr/bin/ bootctl --no-variables install
60
60
umount -l $rootfs_work /proc
61
61
umount -l $rootfs_work /sys
62
62
umount $rootfs_work /boot/efi
@@ -72,14 +72,13 @@ root_partition=$(mktemp)
72
72
partitions=$( mktemp)
73
73
74
74
# fixme: make disk size dynamic
75
- truncate -s 600M " $efi_partition "
75
+ truncate -s 900M " $efi_partition "
76
76
# make_reproducible_vfat $OSTREE_SYSROOT/boot "$efi_partition"
77
77
make_reproducible_vfat -t 11111111 $boot_dir " $efi_partition "
78
78
size_uefi=$( du -b " $efi_partition " | awk ' { padded_size = $1 + (MB - ($1 % MB) % MB); print (padded_size / MB) }' " MB=1048576" )
79
79
part_uuid_uefi=b0e0359c-007b-4361-a0d1-a7ca2d73fe3c
80
80
echo -e " $part_uuid_uefi \tuefi\t$size_uefi \t0\t$efi_partition \tEFI" >> " $partitions "
81
81
82
-
83
82
truncate -s 3G " $root_partition "
84
83
make_reproducible_ext4 -t 11111111 -l ROOT " $MYROOT " /sysroot " $root_partition "
85
84
size_rootfs=$( du -b " $root_partition " | awk ' { padded_size = $1 + (MB - ($1 % MB) % MB); print (padded_size / MB) }' " MB=1048576" )
Original file line number Diff line number Diff line change
1
+ systemd-boot
You can’t perform that action at this time.
0 commit comments