Correctly set the environment needed by snapd in layered

The change is similar to commit #1ca11c97 but for the canary image.
sil2100/proposed-components
Sebastien Bacher 4 years ago
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…
Cancel
Save