lorax-templates-qubes: create basic /dev files in installation image

`rpm -qa` needs /dev/urandom
pull/9/merge
Marek Marczykowski-Górecki 7 years ago
parent 9bfd80c658
commit 4e725c1506
No known key found for this signature in database
GPG Key ID: 063938BA42CFA724

@ -128,6 +128,11 @@ remove etc/lvm/cache
remove etc/lvm/lvm.conf
append etc/lvm/lvm.conf "global {\n\tuse_lvmetad = 1\n}\n"
## have basic /dev files
remove dev/null
runcmd mknod ${root}/dev/null c 1 3
runcmd mknod ${root}/dev/urandom c 1 9
## Record the package versions used to create the image
runcmd chroot ${root} /bin/rpm -qa --pipe "tee /root/lorax-packages.log"

Loading…
Cancel
Save