mirror of
https://git.launchpad.net/livecd-rootfs
synced 2025-02-22 19:01:30 +00:00
fix(buildd): add udev to buildd images. (LP: #2092196)
On 24.10 forward, networkd relies on udev for interface setup. This addresses forever pending interfaces in networkd on buildd lxd images.
This commit is contained in:
parent
ba529b0d80
commit
1ee581ca0c
12
live-build/buildd/hooks/03-network.binary
Executable file
12
live-build/buildd/hooks/03-network.binary
Executable file
@ -0,0 +1,12 @@
|
||||
#!/bin/bash -eux
|
||||
|
||||
. config/functions
|
||||
|
||||
chroot_dir=chroot
|
||||
|
||||
# Networking interface configuration relies udev.
|
||||
# In normal LXD images, it's a transitive depends of ubuntu-cloud-minimal
|
||||
# seed, which isn't present in buildd images.
|
||||
chroot "$chroot_dir" apt-get -y update
|
||||
env DEBIAN_FRONTEND=noninteractive chroot "$chroot_dir" apt-get -y install udev
|
||||
chroot "$chroot_dir" apt-get -y clean
|
Loading…
x
Reference in New Issue
Block a user