[Merge] ~jessica-youjeong/livecd-rootfs:062223-jammy-snap-preseeding into livecd-rootfs:ubuntu/jammy
Thomas Bechtold
mp+446329 at code.launchpad.net
Mon Jul 10 16:11:19 UTC 2023
Diff comments:
> diff --git a/live-build/functions b/live-build/functions
> index 17f2b07..6db9bc7 100644
> --- a/live-build/functions
> +++ b/live-build/functions
> @@ -767,7 +767,8 @@ snap_validate_seed() {
> # a snap pre-seeding issue can occur, where the incorrect apparmor features are reported
> # basic copy of a directory structure overriding the "generic" feature set
> # which is tied to the LTS kernel
> - cp -R --verbose /usr/share/livecd-rootfs/live-build/apparmor/${kern_major_min}/* /usr/share/livecd-rootfs/live-build/apparmor/generic/
> + # mount right kernel version apparmor feature
> + mount -o bind /usr/share/livecd-rootfs/live-build/apparmor/${kern_major_min} /usr/share/livecd-rootfs/live-build/apparmor/generic
at this point, the bind mount is already there (from setup_mountpoint()). so you need to umount first before doing the bindmount again.
> fi
> fi
>
--
https://code.launchpad.net/~jessica-youjeong/livecd-rootfs/+git/livecd-rootfs/+merge/446329
Your team Ubuntu Core Development Team is requested to review the proposed merge of ~jessica-youjeong/livecd-rootfs:062223-jammy-snap-preseeding into livecd-rootfs:ubuntu/jammy.
More information about the Ubuntu-reviews
mailing list