I've run "dracut --no-kernel" in a minimal lxc container, once with
pkg-config and once without and then diffoscope'd the two generated
initrds. Most of what diffoscope complains about are timestamp
differences in directories and symlinks which I don't know how to get
rid of, but there's some changes in etc/conf.d/systemd.conf that I have
attached. Not sure whether those are problematic?


Michael
│ ├── etc/conf.d/systemd.conf
│ │ @@ -1,3 +1,3 @@
│ │ -systemdutildir="/lib/systemd"
│ │ -systemdsystemunitdir="/lib/systemd/system"
│ │ +systemdutildir="/usr/lib/systemd"
│ │ +systemdsystemunitdir="/usr/lib/systemd/system"
│ │  systemdsystemconfdir="/etc/systemd/system"
│ ├── usr/lib/systemd/system/ctrl-alt-del.target
│ │┄ symlink
│ │ @@ -1 +1 @@
│ │ -destination: ../../../../lib/systemd/system/reboot.target
│ │ +destination: reboot.target
│ ├── usr/lib/systemd/system/sockets.target.wants/systemd-journald-audit.socket
│ │┄ symlink
│ │ @@ -1 +1 @@
│ │ -destination: ../../../../../lib/systemd/system/sockets.target.wants/../systemd-journald-audit.socket
│ │ +destination: ../systemd-journald-audit.socket
│ ├── usr/lib/systemd/system/sockets.target.wants/systemd-journald-dev-log.socket
│ │┄ symlink
│ │ @@ -1 +1 @@
│ │ -destination: ../../../../../lib/systemd/system/sockets.target.wants/../systemd-journald-dev-log.socket
│ │ +destination: ../systemd-journald-dev-log.socket
│ ├── usr/lib/systemd/system/sockets.target.wants/systemd-journald.socket
│ │┄ symlink
│ │ @@ -1 +1 @@
│ │ -destination: ../../../../../lib/systemd/system/sockets.target.wants/../systemd-journald.socket
│ │ +destination: ../systemd-journald.socket
│ ├── usr/lib/systemd/system/sockets.target.wants/systemd-udevd-control.socket
│ │┄ symlink
│ │ @@ -1 +1 @@
│ │ -destination: ../../../../../lib/systemd/system/sockets.target.wants/../systemd-udevd-control.socket
│ │ +destination: ../systemd-udevd-control.socket
│ ├── usr/lib/systemd/system/sockets.target.wants/systemd-udevd-kernel.socket
│ │┄ symlink
│ │ @@ -1 +1 @@
│ │ -destination: ../../../../../lib/systemd/system/sockets.target.wants/../systemd-udevd-kernel.socket
│ │ +destination: ../systemd-udevd-kernel.socket
│ ├── usr/lib/systemd/system/sysinit.target.wants/kmod-static-nodes.service
│ │┄ symlink
│ │ @@ -1 +1 @@
│ │ -destination: ../../../../../lib/systemd/system/sysinit.target.wants/../kmod-static-nodes.service
│ │ +destination: ../kmod-static-nodes.service
│ ├── usr/lib/systemd/system/sysinit.target.wants/systemd-ask-password-console.path
│ │┄ symlink
│ │ @@ -1 +1 @@
│ │ -destination: ../../../../../lib/systemd/system/sysinit.target.wants/../systemd-ask-password-console.path
│ │ +destination: ../systemd-ask-password-console.path
│ ├── usr/lib/systemd/system/sysinit.target.wants/systemd-journald.service
│ │┄ symlink
│ │ @@ -1 +1 @@
│ │ -destination: ../../../../../lib/systemd/system/sysinit.target.wants/../systemd-journald.service
│ │ +destination: ../systemd-journald.service
│ ├── usr/lib/systemd/system/sysinit.target.wants/systemd-modules-load.service
│ │┄ symlink
│ │ @@ -1 +1 @@
│ │ -destination: ../../../../../lib/systemd/system/sysinit.target.wants/../systemd-modules-load.service
│ │ +destination: ../systemd-modules-load.service
│ ├── usr/lib/systemd/system/sysinit.target.wants/systemd-sysctl.service
│ │┄ symlink
│ │ @@ -1 +1 @@
│ │ -destination: ../../../../../lib/systemd/system/sysinit.target.wants/../systemd-sysctl.service
│ │ +destination: ../systemd-sysctl.service
│ ├── usr/lib/systemd/system/sysinit.target.wants/systemd-tmpfiles-setup-dev.service
│ │┄ symlink
│ │ @@ -1 +1 @@
│ │ -destination: ../../../../../lib/systemd/system/sysinit.target.wants/../systemd-tmpfiles-setup-dev.service
│ │ +destination: ../systemd-tmpfiles-setup-dev.service
│ ├── usr/lib/systemd/system/sysinit.target.wants/systemd-tmpfiles-setup.service
│ │┄ symlink
│ │ @@ -1 +1 @@
│ │ -destination: ../../../../../lib/systemd/system/sysinit.target.wants/../systemd-tmpfiles-setup.service
│ │ +destination: ../systemd-tmpfiles-setup.service
│ ├── usr/lib/systemd/system/sysinit.target.wants/systemd-udev-trigger.service
│ │┄ symlink
│ │ @@ -1 +1 @@
│ │ -destination: ../../../../../lib/systemd/system/sysinit.target.wants/../systemd-udev-trigger.service
│ │ +destination: ../systemd-udev-trigger.service
│ ├── usr/lib/systemd/system/sysinit.target.wants/systemd-udevd.service
│ │┄ symlink
│ │ @@ -1 +1 @@
│ │ -destination: ../../../../../lib/systemd/system/sysinit.target.wants/../systemd-udevd.service
│ │ +destination: ../systemd-udevd.service

Reply via email to