mirror of
https://git.launchpad.net/livecd-rootfs
synced 2025-05-30 04:01:39 +00:00
Correctly set the environment needed by snapd in layered
The change is similar to commit #1ca11c97 but for the canary image.
This commit is contained in:
parent
79e8f3b53e
commit
fb0d16ea8a
@ -208,10 +208,22 @@ create_chroot_pass () {
|
|||||||
lb chroot_install-packages ${pass} ${*}
|
lb chroot_install-packages ${pass} ${*}
|
||||||
lb_chroot_remove_packages ${pass} ${*}
|
lb_chroot_remove_packages ${pass} ${*}
|
||||||
|
|
||||||
|
lb chroot_sysfs remove ${*}
|
||||||
|
lb chroot_proc remove ${*}
|
||||||
|
lb chroot_devpts remove ${*}
|
||||||
|
|
||||||
|
setup_mountpoint chroot
|
||||||
|
|
||||||
# Snap management
|
# Snap management
|
||||||
lb_chroot_snap_lists ${pass} ${*}
|
lb_chroot_snap_lists ${pass} ${*}
|
||||||
lb_chroot_install_snaps ${pass} ${*}
|
lb_chroot_install_snaps ${pass} ${*}
|
||||||
|
|
||||||
|
teardown_mountpoint chroot
|
||||||
|
|
||||||
|
lb chroot_devpts install ${*}
|
||||||
|
lb chroot_proc install ${*}
|
||||||
|
lb chroot_sysfs install ${*}
|
||||||
|
|
||||||
configure_network_manager
|
configure_network_manager
|
||||||
|
|
||||||
# Mark kernel headers as autoremovable
|
# Mark kernel headers as autoremovable
|
||||||
|
Loading…
x
Reference in New Issue
Block a user