2
0
mirror of https://github.com/xcat2/confluent.git synced 2024-11-22 09:32:21 +00:00
confluent/imgutil
Jarrod Johnson ca4955101d Improve "realness" of imgutil exec context
Utilities that expected /dev/pts will now be satisfied,
as a new /dev/pts is mounted.

Further, systemd added a check in various utilities that
was fouled by the previous method of appearing to have a
root filesystem.

Before, after chroot, we would bind mount / to itself, and this
made things using /proc/mounts, /proc/self/mountinfo, df, mount,
etc happy that there is a real looking root filesystem.

However, by doing it after the chroot, systemd could statx on '..' and
get a different mnt id than /. So it had to be done prior to the
chroot.  However it also had to be done before other mounts as
bind mounting over it would block the submounts.

This more closely imitates the initramfs behavior, where '/' starts life
as a 'real' filesystem before being mounted up and switched into.

This behavior was made to imitate the 'start_root.c' behavior as that
seems to be more broadly successful.
2024-08-07 08:40:10 -04:00
..
el7
el8 Modify pkglist for aarch64 2023-01-27 12:14:37 -05:00
el9 Modify pkglist for aarch64 2023-01-27 12:14:37 -05:00
suse15 Add r8152 driver to diskless/genesis 2022-12-12 12:59:37 -05:00
ubuntu
builddeb Fix path in debian build for imgutil 2024-07-22 13:57:38 -04:00
buildrpm
confluent_imgutil.spec.tmpl Add cpio dependency for imgutil 2024-08-07 07:56:11 -04:00
control.tmpl Add debootstrap dependency for imgutil 2024-08-07 07:58:08 -04:00
imgutil Improve "realness" of imgutil exec context 2024-08-07 08:40:10 -04:00
ubuntu20.04 Create links for ubuntu20.04 and ubuntu22.04 2023-08-17 14:03:55 -04:00
ubuntu22.04 Create links for ubuntu20.04 and ubuntu22.04 2023-08-17 14:03:55 -04:00
ubuntu24.04 Update for Ubuntu 24.04 diskless 2024-07-22 16:33:07 -04:00