Skip to content

Commit

Permalink
Update makesecureboot
Browse files Browse the repository at this point in the history
  • Loading branch information
fwilhe authored Jan 10, 2024
1 parent 2f01dd3 commit 313909e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion builder/image.d/makesecureboot
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ mount --rbind /dev "$rootfs/dev"
kernel_file=$(find "$rootfs/boot/" -name 'vmlinuz-*')
kernel_version="${kernel_file#*-}"

unshare --user --map-root-user --mount -- bash -c 'mount -t tmpfs -o size="$TEMPFS_SIZE" tmpfs '"$rootfs/var/tmp"' && mount -t tmpfs -o size="$TEMPFS_SIZE" tmpfs /sys && mount --bind /usr/bin/false /usr/bin/systemd-detect-virt && "$@"' -- \
unshare --user --map-root-user --mount -- bash -c 'mount -t tmpfs -o size='"$TEMPFS_SIZE"' tmpfs '"$rootfs/var/tmp"' && mount -t tmpfs -o size='"$TEMPFS_SIZE"' tmpfs /sys && mount --bind /usr/bin/false /usr/bin/systemd-detect-virt && "$@"' -- \
chroot "$rootfs" env dracut \
--no-hostonly \
--force \
Expand Down

0 comments on commit 313909e

Please sign in to comment.