diff --git a/slices/cloud-guest-utils.yaml b/slices/cloud-guest-utils.yaml new file mode 100644 index 000000000..3dee42257 --- /dev/null +++ b/slices/cloud-guest-utils.yaml @@ -0,0 +1,19 @@ +package: cloud-guest-utils + +essential: + - cloud-guest-utils_copyright + +slices: + bins: + essential: + - e2fsprogs_bins + - fdisk_bins + - python3.12_standard + contents: + /usr/bin/ec2metadata: + /usr/bin/growpart: + /usr/bin/vcs-run: + + copyright: + contents: + /usr/share/doc/cloud-guest-utils/copyright: diff --git a/slices/cloud-init.yaml b/slices/cloud-init.yaml new file mode 100644 index 000000000..a6797ab8d --- /dev/null +++ b/slices/cloud-init.yaml @@ -0,0 +1,115 @@ +package: cloud-init + +essential: + - cloud-init_copyright + +slices: + bins: + essential: + - cloud-guest-utils_bins + - cloud-init_config + - cloud-init_data + - cloud-init_python-dist + - dhcpcd-base_bins + - iproute2_bins + - netplan.io_bins + - procps_bins + - python3-configobj_dist + - python3-debconf_dist + - python3-jinja2_dist + - python3-jsonpatch_dist + - python3-jsonschema_dist + - python3-netifaces_dist + - python3-oauthlib_dist + - python3-requests_dist + - python3-serial_dist + - python3-yaml_dist + - python3.12_standard + contents: + /usr/bin/cloud-id: + /usr/bin/cloud-init: + /usr/bin/cloud-init-per: + /usr/lib/cloud-init/ds-identify: + /usr/lib/cloud-init/hook-hotplug: + /usr/lib/cloud-init/uncloud-init: + /usr/lib/cloud-init/write-ssh-key-fingerprints: + + config: + contents: + /etc/logrotate.d/cloud-init: + /etc/rsyslog.d/21-cloudinit.conf: + + data: + contents: + /etc/cloud/cloud.cfg: + /etc/cloud/cloud.cfg.d/05_logging.cfg: + /etc/cloud/cloud.cfg.d/README: + /etc/cloud/templates/chef_client.rb.tmpl: + /etc/cloud/templates/chrony.conf.alpine.tmpl: + /etc/cloud/templates/chrony.conf.centos.tmpl: + /etc/cloud/templates/chrony.conf.cos.tmpl: + /etc/cloud/templates/chrony.conf.debian.tmpl: + /etc/cloud/templates/chrony.conf.fedora.tmpl: + /etc/cloud/templates/chrony.conf.freebsd.tmpl: + /etc/cloud/templates/chrony.conf.opensuse-leap.tmpl: + /etc/cloud/templates/chrony.conf.opensuse-microos.tmpl: + /etc/cloud/templates/chrony.conf.opensuse-tumbleweed.tmpl: + /etc/cloud/templates/chrony.conf.opensuse.tmpl: + /etc/cloud/templates/chrony.conf.photon.tmpl: + /etc/cloud/templates/chrony.conf.rhel.tmpl: + /etc/cloud/templates/chrony.conf.sle-micro.tmpl: + /etc/cloud/templates/chrony.conf.sle_hpc.tmpl: + /etc/cloud/templates/chrony.conf.sles.tmpl: + /etc/cloud/templates/chrony.conf.ubuntu.tmpl: + /etc/cloud/templates/hosts.alpine.tmpl: + /etc/cloud/templates/hosts.arch.tmpl: + /etc/cloud/templates/hosts.debian.tmpl: + /etc/cloud/templates/hosts.freebsd.tmpl: + /etc/cloud/templates/hosts.gentoo.tmpl: + /etc/cloud/templates/hosts.mariner.tmpl: + /etc/cloud/templates/hosts.photon.tmpl: + /etc/cloud/templates/hosts.redhat.tmpl: + /etc/cloud/templates/hosts.suse.tmpl: + /etc/cloud/templates/ntp.conf.alpine.tmpl: + /etc/cloud/templates/ntp.conf.debian.tmpl: + /etc/cloud/templates/ntp.conf.fedora.tmpl: + /etc/cloud/templates/ntp.conf.freebsd.tmpl: + /etc/cloud/templates/ntp.conf.opensuse.tmpl: + /etc/cloud/templates/ntp.conf.photon.tmpl: + /etc/cloud/templates/ntp.conf.rhel.tmpl: + /etc/cloud/templates/ntp.conf.sles.tmpl: + /etc/cloud/templates/ntp.conf.ubuntu.tmpl: + /etc/cloud/templates/ntpd.conf.openbsd.tmpl: + /etc/cloud/templates/resolv.conf.tmpl: + /etc/cloud/templates/sources.list.debian.deb822.tmpl: + /etc/cloud/templates/sources.list.debian.tmpl: + /etc/cloud/templates/sources.list.ubuntu.deb822.tmpl: + /etc/cloud/templates/sources.list.ubuntu.tmpl: + /etc/cloud/templates/systemd.resolved.conf.tmpl: + /etc/cloud/templates/timesyncd.conf.tmpl: + + extras: + contents: + /etc/profile.d/Z99-cloud-locale-test.sh: + /etc/profile.d/Z99-cloudinit-warnings.sh: + /etc/systemd/system/sshd-keygen@.service.d/disable-sshd-keygen-if-cloud-init-active.conf: + /lib/systemd/system-generators/cloud-init-generator: + /lib/systemd/system/cloud-config.service: + /lib/systemd/system/cloud-config.target: + /lib/systemd/system/cloud-final.service: + /lib/systemd/system/cloud-init-hotplugd.service: + /lib/systemd/system/cloud-init-hotplugd.socket: + /lib/systemd/system/cloud-init-local.service: + /lib/systemd/system/cloud-init.service: + /lib/systemd/system/cloud-init.target: + /lib/udev/rules.d/66-azure-ephemeral.rules: + + python-dist: + contents: + # These packages should be unique, so we glob here + /usr/lib/python3/dist-packages/cloud_init-24.1.3.egg-info/**: + /usr/lib/python3/dist-packages/cloudinit/**: + + copyright: + contents: + /usr/share/doc/cloud-init/copyright: diff --git a/slices/dhcpcd-base.yaml b/slices/dhcpcd-base.yaml new file mode 100644 index 000000000..9a678308f --- /dev/null +++ b/slices/dhcpcd-base.yaml @@ -0,0 +1,35 @@ +package: dhcpcd-base + +essential: + - dhcpcd-base_copyright + +slices: + bins: + essential: + - dhcpcd-base_config + - libc6_libs + - libssl3t64_libs + - libudev1_libs + contents: + /usr/lib/dhcpcd/dhcpcd-run-hooks: + /usr/sbin/dhcpcd: + + config: + contents: + /etc/dhcpcd.conf: + /usr/lib/dhcpcd/dhcpcd-hooks/01-test: + /usr/lib/dhcpcd/dhcpcd-hooks/20-resolv.conf: + /usr/lib/dhcpcd/dhcpcd-hooks/30-hostname: + /usr/lib/dhcpcd/dhcpcd-hooks/50-ntp.conf: + /usr/lib/dhcpcd/dhcpcd-hooks/50-timesyncd.conf: + /usr/share/dhcpcd/hooks/10-wpa_supplicant: + /usr/share/dhcpcd/hooks/15-timezone: + /usr/share/dhcpcd/hooks/29-lookup-hostname: + + libs: + contents: + /usr/lib/*-linux-*/dhcpcd/dev/udev.so: + + copyright: + contents: + /usr/share/doc/dhcpcd-base/copyright: diff --git a/slices/e2fsprogs.yaml b/slices/e2fsprogs.yaml new file mode 100644 index 000000000..0f092949e --- /dev/null +++ b/slices/e2fsprogs.yaml @@ -0,0 +1,68 @@ +package: e2fsprogs + +essential: + - e2fsprogs_copyright + +slices: + bins: + essential: + - e2fsprogs_config + - e2fsprogs_libs + - libblkid1_libs + - libc6_libs + - libcom-err2_libs + - libext2fs2t64_libs + - libss2_libs + - libuuid1_libs + - logsave_bins + contents: + /usr/bin/chattr: + /usr/bin/lsattr: + /usr/sbin/badblocks: + /usr/sbin/debugfs: + /usr/sbin/dumpe2fs: + /usr/sbin/e2freefrag: + /usr/sbin/e2fsck: + /usr/sbin/e2image: + /usr/sbin/e2label: + /usr/sbin/e2mmpstatus: + /usr/sbin/e2scrub: + /usr/sbin/e2scrub_all: + /usr/sbin/e2undo: + /usr/sbin/e4crypt: + /usr/sbin/e4defrag: + /usr/sbin/filefrag: + /usr/sbin/fsck.ext2: + /usr/sbin/fsck.ext3: + /usr/sbin/fsck.ext4: + /usr/sbin/mke2fs: + /usr/sbin/mkfs.ext2: + /usr/sbin/mkfs.ext3: + /usr/sbin/mkfs.ext4: + /usr/sbin/mklost+found: + /usr/sbin/resize2fs: + /usr/sbin/tune2fs: + + config: + contents: + /etc/e2scrub.conf: + /etc/mke2fs.conf: + + extras: + contents: + /etc/cron.d/e2scrub_all: + /lib/systemd/system/e2scrub@.service: + /lib/systemd/system/e2scrub_all.service: + /lib/systemd/system/e2scrub_all.timer: + /lib/systemd/system/e2scrub_fail@.service: + /lib/systemd/system/e2scrub_reap.service: + /usr/lib/udev/rules.d/96-e2scrub.rules: + + libs: + contents: + /usr/lib/*-linux-*/e2fsprogs/e2scrub_all_cron: + /usr/lib/*-linux-*/e2fsprogs/e2scrub_fail: + + copyright: + contents: + /usr/share/doc/e2fsprogs/copyright: diff --git a/slices/fdisk.yaml b/slices/fdisk.yaml new file mode 100644 index 000000000..a9a357d64 --- /dev/null +++ b/slices/fdisk.yaml @@ -0,0 +1,23 @@ +package: fdisk + +essential: + - fdisk_copyright + +slices: + bins: + essential: + - libc6_libs + - libfdisk1_libs + - libmount1_libs + - libncursesw6_libs + - libreadline8t64_libs + - libsmartcols1_libs + - libtinfo6_libs + contents: + /usr/sbin/cfdisk: + /usr/sbin/fdisk: + /usr/sbin/sfdisk: + + copyright: + contents: + /usr/share/doc/fdisk/copyright: diff --git a/slices/iproute2.yaml b/slices/iproute2.yaml new file mode 100644 index 000000000..97a3b9519 --- /dev/null +++ b/slices/iproute2.yaml @@ -0,0 +1,66 @@ +package: iproute2 + +essential: + - iproute2_copyright + +slices: + bins: + essential: + - iproute2_config + - iproute2_libs + - libbpf1_libs + - libc6_libs + - libcap2-bin_bins + - libcap2_libs + - libdb5.3t64_libs + - libelf1t64_libs + - libmnl0_libs + - libselinux1_libs + - libtirpc3t64_libs + - libxtables12_libs + contents: + /bin/ip: + /bin/ss: + /sbin/bridge: + /sbin/dcb: + /sbin/devlink: + /sbin/ip: + /sbin/rtacct: + /sbin/rtmon: + /sbin/tc: + /sbin/tipc: + /sbin/vdpa: + /usr/bin/ctstat: + /usr/bin/lnstat: + /usr/bin/nstat: + /usr/bin/rdma: + /usr/bin/routel: + /usr/bin/rtstat: + /usr/sbin/arpd: + /usr/sbin/genl: + + config: + contents: + /etc/iproute2/bpf_pinning: + /etc/iproute2/ematch_map: + /etc/iproute2/group: + /etc/iproute2/nl_protos: + /etc/iproute2/rt_dsfield: + /etc/iproute2/rt_protos: + /etc/iproute2/rt_realms: + /etc/iproute2/rt_scopes: + /etc/iproute2/rt_tables: + + libs: + contents: + /usr/lib/*-linux-*/tc/experimental.dist: + /usr/lib/*-linux-*/tc/m_ipt.so: + /usr/lib/*-linux-*/tc/m_xt.so: + /usr/lib/*-linux-*/tc/normal.dist: + /usr/lib/*-linux-*/tc/pareto.dist: + /usr/lib/*-linux-*/tc/paretonormal.dist: + /usr/lib/*-linux-*/tc/q_atm.so: + + copyright: + contents: + /usr/share/doc/iproute2/copyright: diff --git a/slices/libargon2-1.yaml b/slices/libargon2-1.yaml new file mode 100644 index 000000000..0c28328e1 --- /dev/null +++ b/slices/libargon2-1.yaml @@ -0,0 +1,15 @@ +package: libargon2-1 + +essential: + - libargon2-1_copyright + +slices: + libs: + essential: + - libc6_libs + contents: + /usr/lib/*-linux-*/libargon2.so.1*: + + copyright: + contents: + /usr/share/doc/libargon2-1/copyright: diff --git a/slices/libbpf1.yaml b/slices/libbpf1.yaml new file mode 100644 index 000000000..4278e446d --- /dev/null +++ b/slices/libbpf1.yaml @@ -0,0 +1,17 @@ +package: libbpf1 + +essential: + - libbpf1_copyright + +slices: + libs: + essential: + - libc6_libs + - libelf1t64_libs + - zlib1g_libs + contents: + /usr/lib/*-linux-*/libbpf.so.1*: + + copyright: + contents: + /usr/share/doc/libbpf1/copyright: diff --git a/slices/libcryptsetup12.yaml b/slices/libcryptsetup12.yaml new file mode 100644 index 000000000..6e1aa832a --- /dev/null +++ b/slices/libcryptsetup12.yaml @@ -0,0 +1,21 @@ +package: libcryptsetup12 + +essential: + - libcryptsetup12_copyright + +slices: + libs: + essential: + - libargon2-1_libs + - libblkid1_libs + - libc6_libs + - libdevmapper1.02.1_libs + - libjson-c5_libs + - libssl3t64_libs + - libuuid1_libs + contents: + /lib/*-linux-*/libcryptsetup.so.12*: + + copyright: + contents: + /usr/share/doc/libcryptsetup12/copyright: diff --git a/slices/libdbus-1-3.yaml b/slices/libdbus-1-3.yaml new file mode 100644 index 000000000..5f5a15cb8 --- /dev/null +++ b/slices/libdbus-1-3.yaml @@ -0,0 +1,16 @@ +package: libdbus-1-3 + +essential: + - libdbus-1-3_copyright + +slices: + libs: + essential: + - libc6_libs + - libsystemd0_libs + contents: + /usr/lib/*-linux-*/libdbus-1.so.3*: + + copyright: + contents: + /usr/share/doc/libdbus-1-3/copyright: diff --git a/slices/libdevmapper1.02.1.yaml b/slices/libdevmapper1.02.1.yaml new file mode 100644 index 000000000..61f3065a2 --- /dev/null +++ b/slices/libdevmapper1.02.1.yaml @@ -0,0 +1,17 @@ +package: libdevmapper1.02.1 + +essential: + - libdevmapper1.02.1_copyright + +slices: + libs: + essential: + - libc6_libs + - libselinux1_libs + - libudev1_libs + contents: + /usr/lib/*-linux-*/libdevmapper.so.1*: + + copyright: + contents: + /usr/share/doc/libdevmapper1.02.1/copyright: diff --git a/slices/libelf1t64.yaml b/slices/libelf1t64.yaml new file mode 100644 index 000000000..1dcf685dc --- /dev/null +++ b/slices/libelf1t64.yaml @@ -0,0 +1,18 @@ +package: libelf1t64 + +essential: + - libelf1t64_copyright + +slices: + libs: + essential: + - libc6_libs + - libzstd1_libs + - zlib1g_libs + contents: + /usr/lib/*-linux-*/libelf-0.190.so: + /usr/lib/*-linux-*/libelf.so.1: + + copyright: + contents: + /usr/share/doc/libelf1t64/copyright: diff --git a/slices/libext2fs2t64.yaml b/slices/libext2fs2t64.yaml new file mode 100644 index 000000000..22b81b64d --- /dev/null +++ b/slices/libext2fs2t64.yaml @@ -0,0 +1,16 @@ +package: libext2fs2t64 + +essential: + - libext2fs2t64_copyright + +slices: + libs: + essential: + - libc6_libs + contents: + /usr/lib/*-linux-*/libe2p.so.2*: + /usr/lib/*-linux-*/libext2fs.so.2*: + + copyright: + contents: + /usr/share/doc/libext2fs2t64/copyright: diff --git a/slices/libfdisk1.yaml b/slices/libfdisk1.yaml new file mode 100644 index 000000000..91d23cf8c --- /dev/null +++ b/slices/libfdisk1.yaml @@ -0,0 +1,17 @@ +package: libfdisk1 + +essential: + - libfdisk1_copyright + +slices: + libs: + essential: + - libblkid1_libs + - libc6_libs + - libuuid1_libs + contents: + /usr/lib/*-linux-*/libfdisk.so.1*: + + copyright: + contents: + /usr/share/doc/libfdisk1/copyright: diff --git a/slices/libglib2.0-0t64.yaml b/slices/libglib2.0-0t64.yaml new file mode 100644 index 000000000..d357c79bd --- /dev/null +++ b/slices/libglib2.0-0t64.yaml @@ -0,0 +1,27 @@ +package: libglib2.0-0t64 + +essential: + - libglib2.0-0t64_copyright + +slices: + libs: + essential: + - libc6_libs + - libffi8_libs + - libmount1_libs + - libpcre2-8-0_libs + - libselinux1_libs + - zlib1g_libs + contents: + /usr/lib/*-linux-*/glib-2.0/gio-launch-desktop: + /usr/lib/*-linux-*/glib-2.0/gio-querymodules: + /usr/lib/*-linux-*/glib-2.0/glib-compile-schemas: + /usr/lib/*-linux-*/libgio-2.0.so.0*: + /usr/lib/*-linux-*/libglib-2.0.so.0*: + /usr/lib/*-linux-*/libgmodule-2.0.so.0*: + /usr/lib/*-linux-*/libgobject-2.0.so.0*: + /usr/lib/*-linux-*/libgthread-2.0.so.0*: + + copyright: + contents: + /usr/share/doc/libglib2.0-0t64/copyright: diff --git a/slices/libjson-c5.yaml b/slices/libjson-c5.yaml new file mode 100644 index 000000000..d8f64cb8e --- /dev/null +++ b/slices/libjson-c5.yaml @@ -0,0 +1,15 @@ +package: libjson-c5 + +essential: + - libjson-c5_copyright + +slices: + libs: + essential: + - libc6_libs + contents: + /usr/lib/*-linux-*/libjson-c.so.5*: + + copyright: + contents: + /usr/share/doc/libjson-c5/copyright: diff --git a/slices/libkmod2.yaml b/slices/libkmod2.yaml new file mode 100644 index 000000000..583c790f2 --- /dev/null +++ b/slices/libkmod2.yaml @@ -0,0 +1,18 @@ +package: libkmod2 + +essential: + - libkmod2_copyright + +slices: + libs: + essential: + - libc6_libs + - liblzma5_libs + - libssl3t64_libs + - libzstd1_libs + contents: + /usr/lib/*-linux-*/libkmod.so.2*: + + copyright: + contents: + /usr/share/doc/libkmod2/copyright: diff --git a/slices/libmnl0.yaml b/slices/libmnl0.yaml new file mode 100644 index 000000000..6a4a337fd --- /dev/null +++ b/slices/libmnl0.yaml @@ -0,0 +1,15 @@ +package: libmnl0 + +essential: + - libmnl0_copyright + +slices: + libs: + essential: + - libc6_libs + contents: + /usr/lib/*-linux-*/libmnl.so.0*: + + copyright: + contents: + /usr/share/doc/libmnl0/copyright: diff --git a/slices/libmount1.yaml b/slices/libmount1.yaml new file mode 100644 index 000000000..4d890885e --- /dev/null +++ b/slices/libmount1.yaml @@ -0,0 +1,17 @@ +package: libmount1 + +essential: + - libseccomp2_copyright + +slices: + libs: + essential: + - libblkid1_libs + - libc6_libs + - libselinux1_libs + contents: + /usr/lib/*-linux-*/libmount.so.1*: + + copyright: + contents: + /usr/share/doc/libmount1/copyright: diff --git a/slices/libnetplan1.yaml b/slices/libnetplan1.yaml new file mode 100644 index 000000000..c40ae64e9 --- /dev/null +++ b/slices/libnetplan1.yaml @@ -0,0 +1,18 @@ +package: libnetplan1 + +essential: + - libnetplan1_copyright + +slices: + libs: + essential: + - libc6_libs + - libglib2.0-0t64_libs + - libuuid1_libs + - libyaml-0-2_libs + contents: + /usr/lib/*-linux-*/libnetplan.so.1*: + + copyright: + contents: + /usr/share/doc/libnetplan1/copyright: diff --git a/slices/libseccomp2.yaml b/slices/libseccomp2.yaml new file mode 100644 index 000000000..f2420e7d0 --- /dev/null +++ b/slices/libseccomp2.yaml @@ -0,0 +1,15 @@ +package: libseccomp2 + +essential: + - libseccomp2_copyright + +slices: + libs: + essential: + - libc6_libs + contents: + /usr/lib/*-linux-*/libseccomp.so.2*: + + copyright: + contents: + /usr/share/doc/libseccomp2/copyright: diff --git a/slices/libsmartcols1.yaml b/slices/libsmartcols1.yaml new file mode 100644 index 000000000..2ab90186f --- /dev/null +++ b/slices/libsmartcols1.yaml @@ -0,0 +1,15 @@ +package: libsmartcols1 + +essential: + - libsmartcols1_copyright + +slices: + libs: + essential: + - libc6_libs + contents: + /usr/lib/*-linux-*/libsmartcols.so.1*: + + copyright: + contents: + /usr/share/doc/libsmartcols1/copyright: diff --git a/slices/libss2.yaml b/slices/libss2.yaml new file mode 100644 index 000000000..29a205e03 --- /dev/null +++ b/slices/libss2.yaml @@ -0,0 +1,16 @@ +package: libss2 + +essential: + - libss2_copyright + +slices: + libs: + essential: + - libc6_libs + - libcom-err2_libs + contents: + /usr/lib/*-linux-*/libss.so.2*: + + copyright: + contents: + /usr/share/doc/libss2/copyright: diff --git a/slices/libsystemd-shared.yaml b/slices/libsystemd-shared.yaml new file mode 100644 index 000000000..bc54a95fc --- /dev/null +++ b/slices/libsystemd-shared.yaml @@ -0,0 +1,32 @@ +package: libsystemd-shared + +essential: + - libsystemd-shared_copyright + +slices: + libs: + essential: + - libacl1_libs + - libapparmor1_libs + - libaudit1_libs + - libblkid1_libs + - libc6_libs + - libcap2_libs + - libcrypt1_libs + - libgcrypt20_libs + - libkmod2_libs + - liblz4-1_libs + - liblzma5_libs + - libmount1_libs + - libpam0g_libs + - libseccomp2_libs + - libselinux1_libs + - libssl3t64_libs + - libzstd1_libs + contents: + /usr/lib/*-linux-*/systemd/libsystemd-core-*.so: + /usr/lib/*-linux-*/systemd/libsystemd-shared-*.so: + + copyright: + contents: + /usr/share/doc/libsystemd-shared/copyright: diff --git a/slices/libxtables12.yaml b/slices/libxtables12.yaml new file mode 100644 index 000000000..bd8d1d699 --- /dev/null +++ b/slices/libxtables12.yaml @@ -0,0 +1,15 @@ +package: libxtables12 + +essential: + - libxtables12_copyright + +slices: + libs: + essential: + - libc6_libs + contents: + /usr/lib/*-linux-*/libxtables.so.12*: + + copyright: + contents: + /usr/share/doc/libxtables12/copyright: diff --git a/slices/logsave.yaml b/slices/logsave.yaml new file mode 100644 index 000000000..f99695591 --- /dev/null +++ b/slices/logsave.yaml @@ -0,0 +1,15 @@ +package: logsave + +essential: + - logsave_copyright + +slices: + bins: + essential: + - libc6_libs + contents: + /usr/sbin/logsave: + + copyright: + contents: + /usr/share/doc/logsave/copyright: diff --git a/slices/mount.yaml b/slices/mount.yaml new file mode 100644 index 000000000..88fa1994a --- /dev/null +++ b/slices/mount.yaml @@ -0,0 +1,23 @@ +package: mount + +essential: + - mount_copyright + +slices: + bins: + essential: + - libblkid1_libs + - libc6_libs + - libmount1_libs + - libselinux1_libs + - libsmartcols1_libs + contents: + /usr/bin/mount: + /usr/bin/umount: + /usr/sbin/losetup: + /usr/sbin/swapoff: + /usr/sbin/swapon: + + copyright: + contents: + /usr/share/doc/mount/copyright: diff --git a/slices/netplan-generator.yaml b/slices/netplan-generator.yaml new file mode 100644 index 000000000..ab15b1eb2 --- /dev/null +++ b/slices/netplan-generator.yaml @@ -0,0 +1,20 @@ +package: netplan-generator + +essential: + - netplan-generator_copyright + +slices: + data: + essential: + - libc6_libs + - libglib2.0-0t64_libs + - libnetplan1_libs + - systemd_bins + contents: + /usr/lib/netplan/PLACEHOLDER: + /usr/lib/systemd/system-generators/netplan: + /usr/libexec/netplan/generate: + + copyright: + contents: + /usr/share/doc/netplan-generator/copyright: diff --git a/slices/netplan.io.yaml b/slices/netplan.io.yaml new file mode 100644 index 000000000..f54f1f962 --- /dev/null +++ b/slices/netplan.io.yaml @@ -0,0 +1,38 @@ +package: netplan.io + +essential: + - netplan.io_copyright + +slices: + bins: + essential: + - iproute2_bins + - libc6_libs + - libglib2.0-0t64_libs + - libnetplan1_libs + - libsystemd0_libs + - netplan-generator_data + - netplan.io_cli + - python3-dbus_data + - python3-netifaces_data + - python3-netplan_data + - python3-yaml_data + - python3.12_standard + - systemd_bins + contents: + /usr/sbin/netplan: + + cli: + contents: + /usr/share/netplan/netplan.script: + /usr/share/netplan/netplan_cli/**: + + extras: + contents: + /usr/libexec/netplan/netplan-dbus: + /usr/share/dbus-1/system-services/io.netplan.Netplan.service: + /usr/share/dbus-1/system.d/io.netplan.Netplan.conf: + + copyright: + contents: + /usr/share/doc/netplan.io/copyright: diff --git a/slices/python3-attr.yaml b/slices/python3-attr.yaml new file mode 100644 index 000000000..0b0a290e3 --- /dev/null +++ b/slices/python3-attr.yaml @@ -0,0 +1,18 @@ +package: python3-attr + +essential: + - python3-attr_copyright + +slices: + dist: + essential: + - python3-importlib-metadata_dist + - python3.12_standard + contents: + /usr/lib/python3/dist-packages/attr/**: + /usr/lib/python3/dist-packages/attrs-23.2.0.dist-info/**: + /usr/lib/python3/dist-packages/attrs/**: + + copyright: + contents: + /usr/share/doc/python3-attr/copyright: diff --git a/slices/python3-blinker.yaml b/slices/python3-blinker.yaml new file mode 100644 index 000000000..b16547271 --- /dev/null +++ b/slices/python3-blinker.yaml @@ -0,0 +1,16 @@ +package: python3-blinker + +essential: + - python3-blinker_copyright + +slices: + dist: + essential: + - python3.12_standard + contents: + /usr/lib/python3/dist-packages/blinker-1.7.0.dist-info/**: + /usr/lib/python3/dist-packages/blinker/**: + + copyright: + contents: + /usr/share/doc/python3-blinker/copyright: diff --git a/slices/python3-certifi.yaml b/slices/python3-certifi.yaml new file mode 100644 index 000000000..de629d10a --- /dev/null +++ b/slices/python3-certifi.yaml @@ -0,0 +1,17 @@ +package: python3-certifi + +essential: + - python3-certifi_copyright + +slices: + dist: + essential: + - ca-certificates_data + - python3.12_standard + contents: + /usr/lib/python3/dist-packages/certifi-2023.11.17.egg-info/**: + /usr/lib/python3/dist-packages/certifi/**: + + copyright: + contents: + /usr/share/doc/python3-certifi/copyright: diff --git a/slices/python3-cffi-backend.yaml b/slices/python3-cffi-backend.yaml new file mode 100644 index 000000000..9c227fd5d --- /dev/null +++ b/slices/python3-cffi-backend.yaml @@ -0,0 +1,17 @@ +package: python3-cffi-backend + +essential: + - python3-cffi-backend_copyright + +slices: + dist: + essential: + - libc6_libs + - libffi8_libs + - python3.12_standard + contents: + /usr/lib/python3/dist-packages/_cffi_backend.cpython-*-linux-*.so: + + copyright: + contents: + /usr/share/doc/python3-cffi-backend/copyright: diff --git a/slices/python3-chardet.yaml b/slices/python3-chardet.yaml new file mode 100644 index 000000000..27c73e1d8 --- /dev/null +++ b/slices/python3-chardet.yaml @@ -0,0 +1,22 @@ +package: python3-chardet + +essential: + - python3-chardet_copyright + +slices: + bins: + contents: + /usr/bin/chardet: + /usr/bin/chardetect: + + dist: + essential: + - python3-pkg-resources_dist + - python3.12_standard + contents: + /usr/lib/python3/dist-packages/chardet-5.2.0.dist-info/**: + /usr/lib/python3/dist-packages/chardet/**: + + copyright: + contents: + /usr/share/doc/python3-chardet/copyright: diff --git a/slices/python3-configobj.yaml b/slices/python3-configobj.yaml new file mode 100644 index 000000000..7d7bfbed5 --- /dev/null +++ b/slices/python3-configobj.yaml @@ -0,0 +1,17 @@ +package: python3-configobj + +essential: + - python3-configobj_copyright + +slices: + dist: + essential: + - python3.12_standard + contents: + /usr/lib/python3/dist-packages/configobj-5*/**: + /usr/lib/python3/dist-packages/configobj/**: + /usr/lib/python3/dist-packages/validate/__init__.py: + + copyright: + contents: + /usr/share/doc/python3-configobj/copyright: diff --git a/slices/python3-cryptography.yaml b/slices/python3-cryptography.yaml new file mode 100644 index 000000000..38e548e02 --- /dev/null +++ b/slices/python3-cryptography.yaml @@ -0,0 +1,20 @@ +package: python3-cryptography + +essential: + - python3-cryptography_copyright + +slices: + dist: + essential: + - libc6_libs + - libgcc-s1_libs + - libssl3t64_libs + - python3-cffi-backend_dist + - python3.12_standard + contents: + /usr/lib/python3/dist-packages/cryptography-41.0.7.dist-info/**: + /usr/lib/python3/dist-packages/cryptography/**: + + copyright: + contents: + /usr/share/doc/python3-cryptography/copyright: diff --git a/slices/python3-dbus.yaml b/slices/python3-dbus.yaml new file mode 100644 index 000000000..308260c58 --- /dev/null +++ b/slices/python3-dbus.yaml @@ -0,0 +1,24 @@ +package: python3-dbus + +essential: + - python3-dbus_copyright + +slices: + data: + essential: + - libc6_libs + - libdbus-1-3_libs + - libglib2.0-0t64_libs + - python3.12_standard + contents: + /usr/lib/python3/dist-packages/_dbus_bindings.cpython-*-linux-*.so: + /usr/lib/python3/dist-packages/_dbus_glib_bindings.cpython-*-linux-*.so: + /usr/lib/python3/dist-packages/dbus/**: + /usr/lib/python3/dist-packages/dbus_python-1.3.2.egg-info/PKG-INFO: + /usr/lib/python3/dist-packages/dbus_python-1.3.2.egg-info/dependency_links.txt: + /usr/lib/python3/dist-packages/dbus_python-1.3.2.egg-info/not-zip-safe: + /usr/lib/python3/dist-packages/dbus_python-1.3.2.egg-info/top_level.txt: + + copyright: + contents: + /usr/share/doc/python3-dbus/copyright: diff --git a/slices/python3-debconf.yaml b/slices/python3-debconf.yaml new file mode 100644 index 000000000..8486afd47 --- /dev/null +++ b/slices/python3-debconf.yaml @@ -0,0 +1,9 @@ +# package contains no copyright +package: python3-debconf + +slices: + dist: + essential: + - python3.12_standard + contents: + /usr/lib/python3/dist-packages/debconf.py: diff --git a/slices/python3-idna.yaml b/slices/python3-idna.yaml new file mode 100644 index 000000000..1fbe325db --- /dev/null +++ b/slices/python3-idna.yaml @@ -0,0 +1,16 @@ +package: python3-idna + +essential: + - python3-idna_copyright + +slices: + dist: + essential: + - python3.12_standard + contents: + /usr/lib/python3/dist-packages/idna-3.6.dist-info/**: + /usr/lib/python3/dist-packages/idna/**: + + copyright: + contents: + /usr/share/doc/python3-idna/copyright: diff --git a/slices/python3-importlib-metadata.yaml b/slices/python3-importlib-metadata.yaml new file mode 100644 index 000000000..7ceecea5d --- /dev/null +++ b/slices/python3-importlib-metadata.yaml @@ -0,0 +1,18 @@ +package: python3-importlib-metadata + +essential: + - python3-importlib-metadata_copyright + +slices: + dist: + essential: + - python3-typing-extensions_dist + - python3-zipp_dist + - python3.12_standard + contents: + /usr/lib/python3/dist-packages/importlib_metadata-4.12.0.dist-info/**: + /usr/lib/python3/dist-packages/importlib_metadata/**: + + copyright: + contents: + /usr/share/doc/python3-importlib-metadata/copyright: diff --git a/slices/python3-importlib-resources.yaml b/slices/python3-importlib-resources.yaml new file mode 100644 index 000000000..82b589a82 --- /dev/null +++ b/slices/python3-importlib-resources.yaml @@ -0,0 +1,17 @@ +package: python3-importlib-resources + +essential: + - python3-importlib-resources_copyright + +slices: + dist: + essential: + - python3-zipp_dist + - python3.12_standard + contents: + /usr/lib/python3/dist-packages/importlib_resources-6.0.1.dist-info/**: + /usr/lib/python3/dist-packages/importlib_resources/**: + + copyright: + contents: + /usr/share/doc/python3-importlib-resources/copyright: diff --git a/slices/python3-jinja2.yaml b/slices/python3-jinja2.yaml new file mode 100644 index 000000000..23eddb680 --- /dev/null +++ b/slices/python3-jinja2.yaml @@ -0,0 +1,19 @@ +package: python3-jinja2 + +essential: + - python3-jinja2_copyright + +slices: + dist: + essential: + - python3-markupsafe_dist + - python3.12_standard + contents: + /usr/lib/python3/dist-packages/Jinja2-3*/**: + /usr/lib/python3/dist-packages/jinja2/**: + /usr/share/python3/bcep/python3-jinja2: + /usr/share/vim/addons/syntax/jinja.vim: + + copyright: + contents: + /usr/share/doc/python3-jinja2/copyright: diff --git a/slices/python3-json-pointer.yaml b/slices/python3-json-pointer.yaml new file mode 100644 index 000000000..6a0037dd8 --- /dev/null +++ b/slices/python3-json-pointer.yaml @@ -0,0 +1,20 @@ +package: python3-json-pointer + +essential: + - python3-json-pointer_copyright + +slices: + bins: + contents: + /usr/bin/jsonpointer: + + dist: + essential: + - python3.12_standard + contents: + /usr/lib/python3/dist-packages/jsonpointer-2*/**: + /usr/lib/python3/dist-packages/jsonpointer.py: + + copyright: + contents: + /usr/share/doc/python3-json-pointer/copyright: diff --git a/slices/python3-jsonpatch.yaml b/slices/python3-jsonpatch.yaml new file mode 100644 index 000000000..b569ad55e --- /dev/null +++ b/slices/python3-jsonpatch.yaml @@ -0,0 +1,22 @@ +package: python3-jsonpatch + +essential: + - python3-jsonpatch_copyright + +slices: + bins: + contents: + /usr/bin/json-patch-jsondiff: + /usr/bin/jsonpatch: + + dist: + essential: + - python3-json-pointer_dist + - python3.12_standard + contents: + /usr/lib/python3/dist-packages/jsonpatch-1*/**: + /usr/lib/python3/dist-packages/jsonpatch.py: + + copyright: + contents: + /usr/share/doc/python3-jsonpatch/copyright: diff --git a/slices/python3-jsonschema.yaml b/slices/python3-jsonschema.yaml new file mode 100644 index 000000000..6179b0016 --- /dev/null +++ b/slices/python3-jsonschema.yaml @@ -0,0 +1,25 @@ +package: python3-jsonschema + +essential: + - python3-jsonschema_copyright + +slices: + bins: + contents: + /usr/bin/jsonschema: + + dist: + essential: + - python3-attr_dist + - python3-importlib-metadata_dist + - python3-importlib-resources_dist + - python3-pyrsistent_dist + - python3-typing-extensions_dist + - python3.12_standard + contents: + /usr/lib/python3/dist-packages/jsonschema-4.10.3.dist-info/**: + /usr/lib/python3/dist-packages/jsonschema/**: + + copyright: + contents: + /usr/share/doc/python3-jsonschema/copyright: diff --git a/slices/python3-jwt.yaml b/slices/python3-jwt.yaml new file mode 100644 index 000000000..d1271dfd6 --- /dev/null +++ b/slices/python3-jwt.yaml @@ -0,0 +1,17 @@ +package: python3-jwt + +essential: + - python3-jwt_copyright + +slices: + dist: + essential: + - python3-typing-extensions_dist + - python3.12_standard + contents: + /usr/lib/python3/dist-packages/PyJWT-2.7.0.dist-info/**: + /usr/lib/python3/dist-packages/jwt/**: + + copyright: + contents: + /usr/share/doc/python3-jwt/copyright: diff --git a/slices/python3-markupsafe.yaml b/slices/python3-markupsafe.yaml new file mode 100644 index 000000000..1f8c71e4d --- /dev/null +++ b/slices/python3-markupsafe.yaml @@ -0,0 +1,17 @@ +package: python3-markupsafe + +essential: + - python3-markupsafe_copyright + +slices: + dist: + essential: + - libc6_libs + - python3.12_standard + contents: + /usr/lib/python3/dist-packages/MarkupSafe-2.1.5.egg-info/**: + /usr/lib/python3/dist-packages/markupsafe/**: + + copyright: + contents: + /usr/share/doc/python3-markupsafe/copyright: diff --git a/slices/python3-more-itertools.yaml b/slices/python3-more-itertools.yaml new file mode 100644 index 000000000..1f020c173 --- /dev/null +++ b/slices/python3-more-itertools.yaml @@ -0,0 +1,16 @@ +package: python3-more-itertools + +essential: + - python3-more-itertools_copyright + +slices: + dist: + essential: + - python3.12_standard + contents: + /usr/lib/python3/dist-packages/more_itertools-10.2.0.dist-info/**: + /usr/lib/python3/dist-packages/more_itertools/**: + + copyright: + contents: + /usr/share/doc/python3-more-itertools/copyright: diff --git a/slices/python3-netifaces.yaml b/slices/python3-netifaces.yaml new file mode 100644 index 000000000..5af094e35 --- /dev/null +++ b/slices/python3-netifaces.yaml @@ -0,0 +1,20 @@ +package: python3-netifaces + +essential: + - python3-netifaces_copyright + +slices: + data: + essential: + - libc6_libs + - python3.12_standard + contents: + /usr/lib/python3/dist-packages/netifaces-0.11.0.egg-info/PKG-INFO: + /usr/lib/python3/dist-packages/netifaces-0.11.0.egg-info/dependency_links.txt: + /usr/lib/python3/dist-packages/netifaces-0.11.0.egg-info/top_level.txt: + /usr/lib/python3/dist-packages/netifaces-0.11.0.egg-info/zip-safe: + /usr/lib/python3/dist-packages/netifaces.cpython-*.so: + + copyright: + contents: + /usr/share/doc/python3-netifaces/copyright: diff --git a/slices/python3-netplan.yaml b/slices/python3-netplan.yaml new file mode 100644 index 000000000..048c264fb --- /dev/null +++ b/slices/python3-netplan.yaml @@ -0,0 +1,18 @@ +package: python3-netplan + +essential: + - python3-netplan_copyright + +slices: + data: + essential: + - libc6_libs + - libnetplan1_libs + - python3-cffi-backend_dist + - python3.12_standard + contents: + /usr/lib/python3/dist-packages/netplan/**: + + copyright: + contents: + /usr/share/doc/python3-netplan/copyright: diff --git a/slices/python3-oauthlib.yaml b/slices/python3-oauthlib.yaml new file mode 100644 index 000000000..4d33eed2b --- /dev/null +++ b/slices/python3-oauthlib.yaml @@ -0,0 +1,19 @@ +package: python3-oauthlib + +essential: + - python3-oauthlib_copyright + +slices: + dist: + essential: + - python3-blinker_dist + - python3-cryptography_dist + - python3-jwt_dist + - python3.12_standard + contents: + /usr/lib/python3/dist-packages/oauthlib-3.2.2.egg-info/**: + /usr/lib/python3/dist-packages/oauthlib/**: + + copyright: + contents: + /usr/share/doc/python3-oauthlib/copyright: diff --git a/slices/python3-pkg-resources.yaml b/slices/python3-pkg-resources.yaml new file mode 100644 index 000000000..aae522979 --- /dev/null +++ b/slices/python3-pkg-resources.yaml @@ -0,0 +1,15 @@ +package: python3-pkg-resources + +essential: + - python3-pkg-resources_copyright + +slices: + dist: + essential: + - python3.12_standard + contents: + /usr/lib/python3/dist-packages/pkg_resources/**: + + copyright: + contents: + /usr/share/doc/python3-pkg-resources/copyright: diff --git a/slices/python3-pyrsistent.yaml b/slices/python3-pyrsistent.yaml new file mode 100644 index 000000000..45d464869 --- /dev/null +++ b/slices/python3-pyrsistent.yaml @@ -0,0 +1,19 @@ +package: python3-pyrsistent + +essential: + - python3-pyrsistent_copyright + +slices: + dist: + essential: + - libc6_libs + - python3.12_standard + contents: + /usr/lib/python3/dist-packages/_pyrsistent_version.py: + /usr/lib/python3/dist-packages/pvectorc.cpython-*-linux-*.so: + /usr/lib/python3/dist-packages/pyrsistent-0.20.0.egg-info/**: + /usr/lib/python3/dist-packages/pyrsistent/**: + + copyright: + contents: + /usr/share/doc/python3-pyrsistent/copyright: diff --git a/slices/python3-requests.yaml b/slices/python3-requests.yaml new file mode 100644 index 000000000..4636d087e --- /dev/null +++ b/slices/python3-requests.yaml @@ -0,0 +1,21 @@ +package: python3-requests + +essential: + - python3-requests_copyright + +slices: + dist: + essential: + - ca-certificates_data + - python3-certifi_dist + - python3-chardet_dist + - python3-idna_dist + - python3-urllib3_dist + - python3.12_standard + contents: + /usr/lib/python3/dist-packages/requests-2.31.0.egg-info/*: + /usr/lib/python3/dist-packages/requests/**: + + copyright: + contents: + /usr/share/doc/python3-requests/copyright: diff --git a/slices/python3-serial.yaml b/slices/python3-serial.yaml new file mode 100644 index 000000000..d70d2c062 --- /dev/null +++ b/slices/python3-serial.yaml @@ -0,0 +1,21 @@ +package: python3-serial + +essential: + - python3-serial_copyright + +slices: + bins: + contents: + /usr/bin/pyserial-miniterm: + /usr/bin/pyserial-ports: + + dist: + essential: + - python3.12_standard + contents: + /usr/lib/python3/dist-packages/pyserial-3.5.egg-info/**: + /usr/lib/python3/dist-packages/serial/**: + + copyright: + contents: + /usr/share/doc/python3-serial/copyright: diff --git a/slices/python3-typing-extensions.yaml b/slices/python3-typing-extensions.yaml new file mode 100644 index 000000000..d76c603f5 --- /dev/null +++ b/slices/python3-typing-extensions.yaml @@ -0,0 +1,16 @@ +package: python3-typing-extensions + +essential: + - python3-typing-extensions_copyright + +slices: + dist: + essential: + - python3.12_standard + contents: + /usr/lib/python3/dist-packages/typing_extensions-4.10.0.dist-info/**: + /usr/lib/python3/dist-packages/typing_extensions.py: + + copyright: + contents: + /usr/share/doc/python3-typing-extensions/copyright: diff --git a/slices/python3-urllib3.yaml b/slices/python3-urllib3.yaml new file mode 100644 index 000000000..af03a1d48 --- /dev/null +++ b/slices/python3-urllib3.yaml @@ -0,0 +1,16 @@ +package: python3-urllib3 + +essential: + - python3-urllib3_copyright + +slices: + dist: + essential: + - python3.12_standard + contents: + /usr/lib/python3/dist-packages/urllib3-2.0.7.dist-info/**: + /usr/lib/python3/dist-packages/urllib3/**: + + copyright: + contents: + /usr/share/doc/python3-urllib3/copyright: diff --git a/slices/python3-yaml.yaml b/slices/python3-yaml.yaml new file mode 100644 index 000000000..4010e2c15 --- /dev/null +++ b/slices/python3-yaml.yaml @@ -0,0 +1,22 @@ +package: python3-yaml + +essential: + - python3-yaml_copyright + +slices: + data: + essential: + - libc6_libs + - libyaml-0-2_libs + - python3.12_standard + contents: + /usr/lib/python3/dist-packages/PyYAML-6.0.1.dist-info/INSTALLER: + /usr/lib/python3/dist-packages/PyYAML-6.0.1.dist-info/METADATA: + /usr/lib/python3/dist-packages/PyYAML-6.0.1.dist-info/WHEEL: + /usr/lib/python3/dist-packages/PyYAML-6.0.1.dist-info/top_level.txt: + /usr/lib/python3/dist-packages/_yaml/__init__.py: + /usr/lib/python3/dist-packages/yaml/**: + + copyright: + contents: + /usr/share/doc/python3-yaml/copyright: diff --git a/slices/python3-zipp.yaml b/slices/python3-zipp.yaml new file mode 100644 index 000000000..2ca556b46 --- /dev/null +++ b/slices/python3-zipp.yaml @@ -0,0 +1,17 @@ +package: python3-zipp + +essential: + - python3-zipp_copyright + +slices: + dist: + essential: + - python3-more-itertools_dist + - python3.12_standard + contents: + /usr/lib/python3/dist-packages/zipp-1.0.0.dist-info/**: + /usr/lib/python3/dist-packages/zipp.py: + + copyright: + contents: + /usr/share/doc/python3-zipp/copyright: diff --git a/slices/python3.12-minimal.yaml b/slices/python3.12-minimal.yaml index dae71c828..c7d4d4a5b 100644 --- a/slices/python3.12-minimal.yaml +++ b/slices/python3.12-minimal.yaml @@ -11,6 +11,7 @@ slices: - libpython3.12-minimal_libs - zlib1g_libs contents: + /usr/bin/python3: {symlink: /usr/bin/python3.12} /usr/bin/python3.12: # The next two directories are created to mimic the behaviour in # the "postinst" script. diff --git a/slices/systemd-dev.yaml b/slices/systemd-dev.yaml new file mode 100644 index 000000000..3c08f18dd --- /dev/null +++ b/slices/systemd-dev.yaml @@ -0,0 +1,53 @@ +package: systemd-dev + +essential: + - systemd-dev_copyright + +slices: + dbus-interfaces: + contents: + /usr/share/dbus-1/interfaces/org.freedesktop.LogControl1.xml: + /usr/share/dbus-1/interfaces/org.freedesktop.home1.Home.xml: + /usr/share/dbus-1/interfaces/org.freedesktop.home1.Manager.xml: + /usr/share/dbus-1/interfaces/org.freedesktop.hostname1.xml: + /usr/share/dbus-1/interfaces/org.freedesktop.import1.Manager.xml: + /usr/share/dbus-1/interfaces/org.freedesktop.import1.Transfer.xml: + /usr/share/dbus-1/interfaces/org.freedesktop.locale1.xml: + /usr/share/dbus-1/interfaces/org.freedesktop.login1.Manager.xml: + /usr/share/dbus-1/interfaces/org.freedesktop.login1.Seat.xml: + /usr/share/dbus-1/interfaces/org.freedesktop.login1.Session.xml: + /usr/share/dbus-1/interfaces/org.freedesktop.login1.User.xml: + /usr/share/dbus-1/interfaces/org.freedesktop.machine1.Image.xml: + /usr/share/dbus-1/interfaces/org.freedesktop.machine1.Machine.xml: + /usr/share/dbus-1/interfaces/org.freedesktop.machine1.Manager.xml: + /usr/share/dbus-1/interfaces/org.freedesktop.network1.DHCPServer.xml: + /usr/share/dbus-1/interfaces/org.freedesktop.network1.DHCPv4Client.xml: + /usr/share/dbus-1/interfaces/org.freedesktop.network1.DHCPv6Client.xml: + /usr/share/dbus-1/interfaces/org.freedesktop.network1.Link.xml: + /usr/share/dbus-1/interfaces/org.freedesktop.network1.Manager.xml: + /usr/share/dbus-1/interfaces/org.freedesktop.network1.Network.xml: + /usr/share/dbus-1/interfaces/org.freedesktop.oom1.Manager.xml: + /usr/share/dbus-1/interfaces/org.freedesktop.portable1.Image.xml: + /usr/share/dbus-1/interfaces/org.freedesktop.portable1.Manager.xml: + /usr/share/dbus-1/interfaces/org.freedesktop.resolve1.DnssdService.xml: + /usr/share/dbus-1/interfaces/org.freedesktop.resolve1.Link.xml: + /usr/share/dbus-1/interfaces/org.freedesktop.resolve1.Manager.xml: + /usr/share/dbus-1/interfaces/org.freedesktop.systemd1.Automount.xml: + /usr/share/dbus-1/interfaces/org.freedesktop.systemd1.Device.xml: + /usr/share/dbus-1/interfaces/org.freedesktop.systemd1.Job.xml: + /usr/share/dbus-1/interfaces/org.freedesktop.systemd1.Manager.xml: + /usr/share/dbus-1/interfaces/org.freedesktop.systemd1.Mount.xml: + /usr/share/dbus-1/interfaces/org.freedesktop.systemd1.Path.xml: + /usr/share/dbus-1/interfaces/org.freedesktop.systemd1.Scope.xml: + /usr/share/dbus-1/interfaces/org.freedesktop.systemd1.Service.xml: + /usr/share/dbus-1/interfaces/org.freedesktop.systemd1.Slice.xml: + /usr/share/dbus-1/interfaces/org.freedesktop.systemd1.Socket.xml: + /usr/share/dbus-1/interfaces/org.freedesktop.systemd1.Swap.xml: + /usr/share/dbus-1/interfaces/org.freedesktop.systemd1.Target.xml: + /usr/share/dbus-1/interfaces/org.freedesktop.systemd1.Timer.xml: + /usr/share/dbus-1/interfaces/org.freedesktop.systemd1.Unit.xml: + /usr/share/dbus-1/interfaces/org.freedesktop.timedate1.xml: + + copyright: + contents: + /usr/share/doc/systemd-dev/copyright: diff --git a/slices/systemd.yaml b/slices/systemd.yaml new file mode 100644 index 000000000..72c62bd10 --- /dev/null +++ b/slices/systemd.yaml @@ -0,0 +1,635 @@ +package: systemd + +essential: + - systemd_copyright + +slices: + bins: + essential: + - libacl1_libs + - libapparmor1_libs + - libaudit1_libs + - libblkid1_libs + - libc6_libs + - libcap2_libs + - libcryptsetup12_libs + - libfdisk1_libs + - libgcrypt20_libs + - libkmod2_libs + - liblz4-1_libs + - liblzma5_libs + - libmount1_libs + - libpam0g_libs + - libseccomp2_libs + - libselinux1_libs + - libssl3t64_libs + - libsystemd-shared_libs + - libsystemd0_libs + - libzstd1_libs + - mount_bins + - systemd-dev_dbus-interfaces + - systemd_config + - systemd_generated-config + - systemd_libs + contents: + /usr/bin/busctl: + /usr/bin/hostnamectl: + /usr/bin/journalctl: + /usr/bin/kernel-install: + /usr/bin/localectl: + /usr/bin/loginctl: + /usr/bin/networkctl: + /usr/bin/systemctl: + /usr/bin/systemd: + /usr/bin/systemd-ac-power: + /usr/bin/systemd-analyze: + /usr/bin/systemd-ask-password: + /usr/bin/systemd-cat: + /usr/bin/systemd-cgls: + /usr/bin/systemd-cgtop: + /usr/bin/systemd-confext: + /usr/bin/systemd-creds: + /usr/bin/systemd-cryptenroll: + /usr/bin/systemd-cryptsetup: + /usr/bin/systemd-delta: + /usr/bin/systemd-detect-virt: + /usr/bin/systemd-escape: + /usr/bin/systemd-firstboot: + /usr/bin/systemd-id128: + /usr/bin/systemd-inhibit: + /usr/bin/systemd-machine-id-setup: + /usr/bin/systemd-mount: + /usr/bin/systemd-notify: + /usr/bin/systemd-path: + /usr/bin/systemd-repart: + /usr/bin/systemd-run: + /usr/bin/systemd-socket-activate: + /usr/bin/systemd-stdio-bridge: + /usr/bin/systemd-sysext: + /usr/bin/systemd-sysusers: + /usr/bin/systemd-tmpfiles: + /usr/bin/systemd-tty-ask-password-agent: + /usr/bin/systemd-umount: + /usr/bin/timedatectl: + /usr/bin/varlinkctl: + /usr/lib/systemd/systemd: + /usr/lib/systemd/systemd-backlight: + /usr/lib/systemd/systemd-battery-check: + /usr/lib/systemd/systemd-binfmt: + /usr/lib/systemd/systemd-boot-check-no-failures: + /usr/lib/systemd/systemd-bsod: + arch: [amd64, arm64, riscv64, ppc64el, armhf, s390x] + /usr/lib/systemd/systemd-cgroups-agent: + /usr/lib/systemd/systemd-cryptsetup: + /usr/lib/systemd/systemd-executor: + /usr/lib/systemd/systemd-fsck: + /usr/lib/systemd/systemd-fsckd: + /usr/lib/systemd/systemd-growfs: + /usr/lib/systemd/systemd-hibernate-resume: + /usr/lib/systemd/systemd-hostnamed: + /usr/lib/systemd/systemd-initctl: + /usr/lib/systemd/systemd-integritysetup: + /usr/lib/systemd/systemd-journald: + /usr/lib/systemd/systemd-localed: + /usr/lib/systemd/systemd-logind: + /usr/lib/systemd/systemd-makefs: + /usr/lib/systemd/systemd-measure: + arch: [amd64, arm64, riscv64] + /usr/lib/systemd/systemd-modules-load: + /usr/lib/systemd/systemd-network-generator: + /usr/lib/systemd/systemd-networkd: + /usr/lib/systemd/systemd-networkd-wait-online: + /usr/lib/systemd/systemd-pcrextend: + arch: [amd64, arm64, riscv64] + /usr/lib/systemd/systemd-pcrlock: + arch: [amd64, arm64, riscv64] + /usr/lib/systemd/systemd-pstore: + /usr/lib/systemd/systemd-quotacheck: + /usr/lib/systemd/systemd-random-seed: + /usr/lib/systemd/systemd-remount-fs: + /usr/lib/systemd/systemd-reply-password: + /usr/lib/systemd/systemd-rfkill: + /usr/lib/systemd/systemd-shutdown: + /usr/lib/systemd/systemd-sleep: + /usr/lib/systemd/systemd-socket-proxyd: + /usr/lib/systemd/systemd-storagetm: + /usr/lib/systemd/systemd-sulogin-shell: + /usr/lib/systemd/systemd-sysctl: + /usr/lib/systemd/systemd-sysroot-fstab-check: + /usr/lib/systemd/systemd-sysupdate: + /usr/lib/systemd/systemd-sysv-install: + /usr/lib/systemd/systemd-time-wait-sync: + /usr/lib/systemd/systemd-timedated: + /usr/lib/systemd/systemd-tpm2-setup: + arch: [amd64, arm64, riscv64] + /usr/lib/systemd/systemd-update-done: + /usr/lib/systemd/systemd-update-utmp: + /usr/lib/systemd/systemd-user-runtime-dir: + /usr/lib/systemd/systemd-user-sessions: + /usr/lib/systemd/systemd-veritysetup: + /usr/lib/systemd/systemd-volatile-root: + /usr/lib/systemd/systemd-xdg-autostart-condition: + + config: + contents: + /etc/modules-load.d/modules.conf: + /etc/sysctl.d/99-sysctl.conf: + /etc/systemd/journald.conf: + /etc/systemd/logind.conf: + /etc/systemd/networkd.conf: + /etc/systemd/pstore.conf: + /etc/systemd/sleep.conf: + /etc/systemd/system-generators/systemd-gpt-auto-generator: + /etc/systemd/system.conf: + /etc/systemd/user.conf: + /etc/xdg/systemd/user: + /usr/lib/environment.d/99-environment.conf: + /usr/lib/kernel/install.conf: + /usr/lib/kernel/install.d/50-depmod.install: + /usr/lib/kernel/install.d/55-initrd.install: + /usr/lib/kernel/install.d/90-loaderentry.install: + /usr/lib/kernel/install.d/90-uki-copy.install: + /usr/lib/lsb/init-functions.d/40-systemd: + /usr/lib/modprobe.d/systemd.conf: + /usr/lib/pam.d/systemd-user: + /usr/lib/pcrlock.d/350-action-efi-application.pcrlock: + arch: [amd64, arm64, riscv64] + /usr/lib/pcrlock.d/400-secureboot-separator.pcrlock.d/300-0x00000000.pcrlock: + arch: [amd64, arm64, riscv64] + /usr/lib/pcrlock.d/400-secureboot-separator.pcrlock.d/600-0xffffffff.pcrlock: + arch: [amd64, arm64, riscv64] + /usr/lib/pcrlock.d/500-separator.pcrlock.d/300-0x00000000.pcrlock: + arch: [amd64, arm64, riscv64] + /usr/lib/pcrlock.d/500-separator.pcrlock.d/600-0xffffffff.pcrlock: + arch: [amd64, arm64, riscv64] + /usr/lib/pcrlock.d/700-action-efi-exit-boot-services.pcrlock.d/300-present.pcrlock: + arch: [amd64, arm64, riscv64] + /usr/lib/pcrlock.d/700-action-efi-exit-boot-services.pcrlock.d/600-absent.pcrlock: + arch: [amd64, arm64, riscv64] + /usr/lib/pcrlock.d/750-enter-initrd.pcrlock: + arch: [amd64, arm64, riscv64] + /usr/lib/pcrlock.d/800-leave-initrd.pcrlock: + arch: [amd64, arm64, riscv64] + /usr/lib/pcrlock.d/850-sysinit.pcrlock: + arch: [amd64, arm64, riscv64] + /usr/lib/pcrlock.d/900-ready.pcrlock: + arch: [amd64, arm64, riscv64] + /usr/lib/pcrlock.d/950-shutdown.pcrlock: + arch: [amd64, arm64, riscv64] + /usr/lib/pcrlock.d/990-final.pcrlock: + arch: [amd64, arm64, riscv64] + /usr/lib/sysctl.d/50-pid-max.conf: + arch: [amd64, arm64, riscv64, s390x, ppc64el] + /usr/lib/systemd/catalog/systemd.be.catalog: + /usr/lib/systemd/catalog/systemd.be@latin.catalog: + /usr/lib/systemd/catalog/systemd.bg.catalog: + /usr/lib/systemd/catalog/systemd.catalog: + /usr/lib/systemd/catalog/systemd.da.catalog: + /usr/lib/systemd/catalog/systemd.de.catalog: + /usr/lib/systemd/catalog/systemd.fr.catalog: + /usr/lib/systemd/catalog/systemd.hr.catalog: + /usr/lib/systemd/catalog/systemd.hu.catalog: + /usr/lib/systemd/catalog/systemd.it.catalog: + /usr/lib/systemd/catalog/systemd.ko.catalog: + /usr/lib/systemd/catalog/systemd.pl.catalog: + /usr/lib/systemd/catalog/systemd.pt_BR.catalog: + /usr/lib/systemd/catalog/systemd.ru.catalog: + /usr/lib/systemd/catalog/systemd.sr.catalog: + /usr/lib/systemd/catalog/systemd.zh_CN.catalog: + /usr/lib/systemd/catalog/systemd.zh_TW.catalog: + /usr/lib/systemd/journald.conf.d/syslog.conf: + /usr/lib/systemd/network/80-6rd-tunnel.network: + /usr/lib/systemd/network/80-container-host0.network: + /usr/lib/systemd/network/80-container-vb.network: + /usr/lib/systemd/network/80-container-ve.network: + /usr/lib/systemd/network/80-container-vz.network: + /usr/lib/systemd/network/80-vm-vt.network: + /usr/lib/systemd/network/80-wifi-adhoc.network: + /usr/lib/systemd/repart/definitions/confext.repart.d/10-root.conf: + /usr/lib/systemd/repart/definitions/confext.repart.d/20-root-verity.conf: + /usr/lib/systemd/repart/definitions/confext.repart.d/30-root-verity-sig.conf: + /usr/lib/systemd/repart/definitions/portable.repart.d/10-root.conf: + /usr/lib/systemd/repart/definitions/portable.repart.d/20-root-verity.conf: + /usr/lib/systemd/repart/definitions/portable.repart.d/30-root-verity-sig.conf: + /usr/lib/systemd/repart/definitions/sysext.repart.d/10-root.conf: + /usr/lib/systemd/repart/definitions/sysext.repart.d/20-root-verity.conf: + /usr/lib/systemd/repart/definitions/sysext.repart.d/30-root-verity-sig.conf: + /usr/lib/systemd/resolv.conf: + /usr/lib/systemd/system-generators/systemd-cryptsetup-generator: + /usr/lib/systemd/system-generators/systemd-debug-generator: + /usr/lib/systemd/system-generators/systemd-fstab-generator: + /usr/lib/systemd/system-generators/systemd-getty-generator: + /usr/lib/systemd/system-generators/systemd-gpt-auto-generator: + /usr/lib/systemd/system-generators/systemd-hibernate-resume-generator: + /usr/lib/systemd/system-generators/systemd-integritysetup-generator: + /usr/lib/systemd/system-generators/systemd-rc-local-generator: + /usr/lib/systemd/system-generators/systemd-run-generator: + /usr/lib/systemd/system-generators/systemd-system-update-generator: + /usr/lib/systemd/system-generators/systemd-sysv-generator: + /usr/lib/systemd/system-generators/systemd-veritysetup-generator: + /usr/lib/systemd/system-preset/90-systemd.preset: + /usr/lib/systemd/system/autovt@.service: + /usr/lib/systemd/system/basic.target: + /usr/lib/systemd/system/blockdev@.target: + /usr/lib/systemd/system/bluetooth.target: + /usr/lib/systemd/system/boot-complete.target: + /usr/lib/systemd/system/console-getty.service: + /usr/lib/systemd/system/container-getty@.service: + /usr/lib/systemd/system/cryptdisks-early.service: + /usr/lib/systemd/system/cryptdisks.service: + /usr/lib/systemd/system/cryptsetup-pre.target: + /usr/lib/systemd/system/cryptsetup.target: + /usr/lib/systemd/system/ctrl-alt-del.target: + /usr/lib/systemd/system/dbus-org.freedesktop.hostname1.service: + /usr/lib/systemd/system/dbus-org.freedesktop.locale1.service: + /usr/lib/systemd/system/dbus-org.freedesktop.login1.service: + /usr/lib/systemd/system/dbus-org.freedesktop.timedate1.service: + /usr/lib/systemd/system/debug-shell.service: + /usr/lib/systemd/system/default.target: + /usr/lib/systemd/system/dev-hugepages.mount: + /usr/lib/systemd/system/dev-mqueue.mount: + /usr/lib/systemd/system/emergency.service: + /usr/lib/systemd/system/emergency.target: + /usr/lib/systemd/system/exit.target: + /usr/lib/systemd/system/factory-reset.target: + /usr/lib/systemd/system/final.target: + /usr/lib/systemd/system/first-boot-complete.target: + /usr/lib/systemd/system/getty-pre.target: + /usr/lib/systemd/system/getty-static.service: + /usr/lib/systemd/system/getty.target: + /usr/lib/systemd/system/getty.target.wants/getty-static.service: + /usr/lib/systemd/system/getty@.service: + /usr/lib/systemd/system/graphical.target: + /usr/lib/systemd/system/graphical.target.wants/systemd-update-utmp-runlevel.service: + /usr/lib/systemd/system/halt.target: + /usr/lib/systemd/system/hibernate.target: + /usr/lib/systemd/system/hwclock.service: + /usr/lib/systemd/system/hybrid-sleep.target: + /usr/lib/systemd/system/initrd-cleanup.service: + /usr/lib/systemd/system/initrd-fs.target: + /usr/lib/systemd/system/initrd-parse-etc.service: + /usr/lib/systemd/system/initrd-root-device.target: + /usr/lib/systemd/system/initrd-root-device.target.wants/remote-cryptsetup.target: + /usr/lib/systemd/system/initrd-root-device.target.wants/remote-veritysetup.target: + /usr/lib/systemd/system/initrd-root-fs.target: + /usr/lib/systemd/system/initrd-root-fs.target.wants/systemd-repart.service: + /usr/lib/systemd/system/initrd-switch-root.service: + /usr/lib/systemd/system/initrd-switch-root.target: + /usr/lib/systemd/system/initrd-udevadm-cleanup-db.service: + /usr/lib/systemd/system/initrd-usr-fs.target: + /usr/lib/systemd/system/initrd.target: + /usr/lib/systemd/system/initrd.target.wants/systemd-battery-check.service: + /usr/lib/systemd/system/initrd.target.wants/systemd-bsod.service: + arch: [amd64, arm64, riscv64, ppc64el, armhf, s390x] + /usr/lib/systemd/system/initrd.target.wants/systemd-pcrphase-initrd.service: + arch: [amd64, arm64, riscv64] + /usr/lib/systemd/system/integritysetup-pre.target: + /usr/lib/systemd/system/integritysetup.target: + /usr/lib/systemd/system/kexec.target: + /usr/lib/systemd/system/kmod-static-nodes.service: + /usr/lib/systemd/system/kmod.service: + /usr/lib/systemd/system/ldconfig.service: + /usr/lib/systemd/system/local-fs-pre.target: + /usr/lib/systemd/system/local-fs.target: + /usr/lib/systemd/system/machine.slice: + /usr/lib/systemd/system/modprobe@.service: + /usr/lib/systemd/system/multi-user.target: + /usr/lib/systemd/system/multi-user.target.wants/getty.target: + /usr/lib/systemd/system/multi-user.target.wants/systemd-ask-password-wall.path: + /usr/lib/systemd/system/multi-user.target.wants/systemd-logind.service: + /usr/lib/systemd/system/multi-user.target.wants/systemd-update-utmp-runlevel.service: + /usr/lib/systemd/system/multi-user.target.wants/systemd-user-sessions.service: + /usr/lib/systemd/system/network-online.target: + /usr/lib/systemd/system/network-pre.target: + /usr/lib/systemd/system/network.target: + /usr/lib/systemd/system/nss-lookup.target: + /usr/lib/systemd/system/nss-user-lookup.target: + /usr/lib/systemd/system/paths.target: + /usr/lib/systemd/system/poweroff.target: + /usr/lib/systemd/system/printer.target: + /usr/lib/systemd/system/proc-sys-fs-binfmt_misc.automount: + /usr/lib/systemd/system/proc-sys-fs-binfmt_misc.mount: + /usr/lib/systemd/system/procps.service: + /usr/lib/systemd/system/quotaon.service: + /usr/lib/systemd/system/rc-local.service: + /usr/lib/systemd/system/rc-local.service.d/debian.conf: + /usr/lib/systemd/system/reboot.target: + /usr/lib/systemd/system/remote-cryptsetup.target: + /usr/lib/systemd/system/remote-fs-pre.target: + /usr/lib/systemd/system/remote-fs.target: + /usr/lib/systemd/system/remote-veritysetup.target: + /usr/lib/systemd/system/rescue.service: + /usr/lib/systemd/system/rescue.target: + /usr/lib/systemd/system/rescue.target.wants/systemd-update-utmp-runlevel.service: + /usr/lib/systemd/system/rpcbind.target: + /usr/lib/systemd/system/runlevel0.target: + /usr/lib/systemd/system/runlevel1.target: + /usr/lib/systemd/system/runlevel2.target: + /usr/lib/systemd/system/runlevel3.target: + /usr/lib/systemd/system/runlevel4.target: + /usr/lib/systemd/system/runlevel5.target: + /usr/lib/systemd/system/runlevel6.target: + /usr/lib/systemd/system/serial-getty@.service: + /usr/lib/systemd/system/shutdown.target: + /usr/lib/systemd/system/sigpwr.target: + /usr/lib/systemd/system/sleep.target: + /usr/lib/systemd/system/slices.target: + /usr/lib/systemd/system/smartcard.target: + /usr/lib/systemd/system/sockets.target: + /usr/lib/systemd/system/sockets.target.wants/systemd-initctl.socket: + /usr/lib/systemd/system/sockets.target.wants/systemd-journald-dev-log.socket: + /usr/lib/systemd/system/sockets.target.wants/systemd-journald.socket: + /usr/lib/systemd/system/sockets.target.wants/systemd-pcrextend.socket: + arch: [amd64, arm64, riscv64] + /usr/lib/systemd/system/sockets.target.wants/systemd-sysext.socket: + /usr/lib/systemd/system/soft-reboot.target: + /usr/lib/systemd/system/sound.target: + /usr/lib/systemd/system/storage-target-mode.target: + /usr/lib/systemd/system/suspend-then-hibernate.target: + /usr/lib/systemd/system/suspend.target: + /usr/lib/systemd/system/swap.target: + /usr/lib/systemd/system/sys-fs-fuse-connections.mount: + /usr/lib/systemd/system/sys-kernel-config.mount: + /usr/lib/systemd/system/sys-kernel-debug.mount: + /usr/lib/systemd/system/sys-kernel-tracing.mount: + /usr/lib/systemd/system/sysinit.target: + /usr/lib/systemd/system/sysinit.target.wants/cryptsetup.target: + /usr/lib/systemd/system/sysinit.target.wants/dev-hugepages.mount: + /usr/lib/systemd/system/sysinit.target.wants/dev-mqueue.mount: + /usr/lib/systemd/system/sysinit.target.wants/integritysetup.target: + /usr/lib/systemd/system/sysinit.target.wants/kmod-static-nodes.service: + /usr/lib/systemd/system/sysinit.target.wants/ldconfig.service: + /usr/lib/systemd/system/sysinit.target.wants/proc-sys-fs-binfmt_misc.automount: + /usr/lib/systemd/system/sysinit.target.wants/sys-fs-fuse-connections.mount: + /usr/lib/systemd/system/sysinit.target.wants/sys-kernel-config.mount: + /usr/lib/systemd/system/sysinit.target.wants/sys-kernel-debug.mount: + /usr/lib/systemd/system/sysinit.target.wants/sys-kernel-tracing.mount: + /usr/lib/systemd/system/sysinit.target.wants/systemd-ask-password-console.path: + /usr/lib/systemd/system/sysinit.target.wants/systemd-binfmt.service: + /usr/lib/systemd/system/sysinit.target.wants/systemd-firstboot.service: + /usr/lib/systemd/system/sysinit.target.wants/systemd-journal-catalog-update.service: + /usr/lib/systemd/system/sysinit.target.wants/systemd-journal-flush.service: + /usr/lib/systemd/system/sysinit.target.wants/systemd-journald.service: + /usr/lib/systemd/system/sysinit.target.wants/systemd-machine-id-commit.service: + /usr/lib/systemd/system/sysinit.target.wants/systemd-modules-load.service: + /usr/lib/systemd/system/sysinit.target.wants/systemd-pcrmachine.service: + arch: [amd64, arm64, riscv64] + /usr/lib/systemd/system/sysinit.target.wants/systemd-pcrphase-sysinit.service: + arch: [amd64, arm64, riscv64] + /usr/lib/systemd/system/sysinit.target.wants/systemd-pcrphase.service: + arch: [amd64, arm64, riscv64] + /usr/lib/systemd/system/sysinit.target.wants/systemd-random-seed.service: + /usr/lib/systemd/system/sysinit.target.wants/systemd-repart.service: + /usr/lib/systemd/system/sysinit.target.wants/systemd-sysctl.service: + /usr/lib/systemd/system/sysinit.target.wants/systemd-sysusers.service: + /usr/lib/systemd/system/sysinit.target.wants/systemd-tmpfiles-setup-dev-early.service: + /usr/lib/systemd/system/sysinit.target.wants/systemd-tmpfiles-setup-dev.service: + /usr/lib/systemd/system/sysinit.target.wants/systemd-tmpfiles-setup.service: + /usr/lib/systemd/system/sysinit.target.wants/systemd-tpm2-setup-early.service: + arch: [amd64, arm64, riscv64] + /usr/lib/systemd/system/sysinit.target.wants/systemd-tpm2-setup.service: + arch: [amd64, arm64, riscv64] + /usr/lib/systemd/system/sysinit.target.wants/systemd-update-done.service: + /usr/lib/systemd/system/sysinit.target.wants/systemd-update-utmp.service: + /usr/lib/systemd/system/sysinit.target.wants/veritysetup.target: + /usr/lib/systemd/system/syslog.socket: + /usr/lib/systemd/system/system-systemd\x2dcryptsetup.slice: + /usr/lib/systemd/system/system-systemd\x2dveritysetup.slice: + /usr/lib/systemd/system/system-update-cleanup.service: + /usr/lib/systemd/system/system-update-pre.target: + /usr/lib/systemd/system/system-update.target: + /usr/lib/systemd/system/systemd-ask-password-console.path: + /usr/lib/systemd/system/systemd-ask-password-console.service: + /usr/lib/systemd/system/systemd-ask-password-wall.path: + /usr/lib/systemd/system/systemd-ask-password-wall.service: + /usr/lib/systemd/system/systemd-backlight@.service: + /usr/lib/systemd/system/systemd-battery-check.service: + /usr/lib/systemd/system/systemd-binfmt.service: + /usr/lib/systemd/system/systemd-boot-check-no-failures.service: + /usr/lib/systemd/system/systemd-bsod.service: + arch: [amd64, arm64, riscv64, ppc64el, armhf, s390x] + /usr/lib/systemd/system/systemd-confext.service: + /usr/lib/systemd/system/systemd-exit.service: + /usr/lib/systemd/system/systemd-firstboot.service: + /usr/lib/systemd/system/systemd-fsck-root.service: + /usr/lib/systemd/system/systemd-fsck@.service: + /usr/lib/systemd/system/systemd-fsckd.service: + /usr/lib/systemd/system/systemd-fsckd.socket: + /usr/lib/systemd/system/systemd-growfs-root.service: + /usr/lib/systemd/system/systemd-growfs@.service: + /usr/lib/systemd/system/systemd-halt.service: + /usr/lib/systemd/system/systemd-hibernate-resume.service: + /usr/lib/systemd/system/systemd-hibernate.service: + /usr/lib/systemd/system/systemd-hostnamed.service: + /usr/lib/systemd/system/systemd-hybrid-sleep.service: + /usr/lib/systemd/system/systemd-initctl.service: + /usr/lib/systemd/system/systemd-initctl.socket: + /usr/lib/systemd/system/systemd-journal-catalog-update.service: + /usr/lib/systemd/system/systemd-journal-flush.service: + /usr/lib/systemd/system/systemd-journald-audit.socket: + /usr/lib/systemd/system/systemd-journald-dev-log.socket: + /usr/lib/systemd/system/systemd-journald-varlink@.socket: + /usr/lib/systemd/system/systemd-journald.service: + /usr/lib/systemd/system/systemd-journald.socket: + /usr/lib/systemd/system/systemd-journald@.service: + /usr/lib/systemd/system/systemd-journald@.socket: + /usr/lib/systemd/system/systemd-kexec.service: + /usr/lib/systemd/system/systemd-localed.service: + /usr/lib/systemd/system/systemd-localed.service.d/x11-keyboard.conf: + /usr/lib/systemd/system/systemd-logind.service: + /usr/lib/systemd/system/systemd-logind.service.d/dbus.conf: + /usr/lib/systemd/system/systemd-machine-id-commit.service: + /usr/lib/systemd/system/systemd-modules-load.service: + /usr/lib/systemd/system/systemd-network-generator.service: + /usr/lib/systemd/system/systemd-networkd-wait-online.service: + /usr/lib/systemd/system/systemd-networkd-wait-online@.service: + /usr/lib/systemd/system/systemd-networkd.service: + /usr/lib/systemd/system/systemd-networkd.socket: + /usr/lib/systemd/system/systemd-pcrextend.socket: + arch: [amd64, arm64, riscv64] + /usr/lib/systemd/system/systemd-pcrextend@.service: + arch: [amd64, arm64, riscv64] + /usr/lib/systemd/system/systemd-pcrfs-root.service: + arch: [amd64, arm64, riscv64] + /usr/lib/systemd/system/systemd-pcrfs@.service: + arch: [amd64, arm64, riscv64] + /usr/lib/systemd/system/systemd-pcrlock-file-system.service: + arch: [amd64, arm64, riscv64] + /usr/lib/systemd/system/systemd-pcrlock-firmware-code.service: + arch: [amd64, arm64, riscv64] + /usr/lib/systemd/system/systemd-pcrlock-firmware-config.service: + arch: [amd64, arm64, riscv64] + /usr/lib/systemd/system/systemd-pcrlock-machine-id.service: + arch: [amd64, arm64, riscv64] + /usr/lib/systemd/system/systemd-pcrlock-make-policy.service: + arch: [amd64, arm64, riscv64] + /usr/lib/systemd/system/systemd-pcrlock-secureboot-authority.service: + arch: [amd64, arm64, riscv64] + /usr/lib/systemd/system/systemd-pcrlock-secureboot-policy.service: + arch: [amd64, arm64, riscv64] + /usr/lib/systemd/system/systemd-pcrmachine.service: + arch: [amd64, arm64, riscv64] + /usr/lib/systemd/system/systemd-pcrphase-initrd.service: + arch: [amd64, arm64, riscv64] + /usr/lib/systemd/system/systemd-pcrphase-sysinit.service: + arch: [amd64, arm64, riscv64] + /usr/lib/systemd/system/systemd-pcrphase.service: + arch: [amd64, arm64, riscv64] + /usr/lib/systemd/system/systemd-poweroff.service: + /usr/lib/systemd/system/systemd-pstore.service: + /usr/lib/systemd/system/systemd-quotacheck.service: + /usr/lib/systemd/system/systemd-random-seed.service: + /usr/lib/systemd/system/systemd-reboot.service: + /usr/lib/systemd/system/systemd-remount-fs.service: + /usr/lib/systemd/system/systemd-repart.service: + /usr/lib/systemd/system/systemd-rfkill.service: + /usr/lib/systemd/system/systemd-rfkill.socket: + /usr/lib/systemd/system/systemd-soft-reboot.service: + /usr/lib/systemd/system/systemd-storagetm.service: + /usr/lib/systemd/system/systemd-suspend-then-hibernate.service: + /usr/lib/systemd/system/systemd-suspend.service: + /usr/lib/systemd/system/systemd-sysctl.service: + /usr/lib/systemd/system/systemd-sysext.service: + /usr/lib/systemd/system/systemd-sysext.socket: + /usr/lib/systemd/system/systemd-sysext@.service: + /usr/lib/systemd/system/systemd-sysupdate-reboot.service: + /usr/lib/systemd/system/systemd-sysupdate-reboot.timer: + /usr/lib/systemd/system/systemd-sysupdate.service: + /usr/lib/systemd/system/systemd-sysupdate.timer: + /usr/lib/systemd/system/systemd-sysusers.service: + /usr/lib/systemd/system/systemd-time-wait-sync.service: + /usr/lib/systemd/system/systemd-timedated.service: + /usr/lib/systemd/system/systemd-tmpfiles-clean.service: + /usr/lib/systemd/system/systemd-tmpfiles-clean.timer: + /usr/lib/systemd/system/systemd-tmpfiles-setup-dev-early.service: + /usr/lib/systemd/system/systemd-tmpfiles-setup-dev.service: + /usr/lib/systemd/system/systemd-tmpfiles-setup.service: + /usr/lib/systemd/system/systemd-tpm2-setup-early.service: + arch: [amd64, arm64, riscv64] + /usr/lib/systemd/system/systemd-tpm2-setup.service: + arch: [amd64, arm64, riscv64] + /usr/lib/systemd/system/systemd-update-done.service: + /usr/lib/systemd/system/systemd-update-utmp-runlevel.service: + /usr/lib/systemd/system/systemd-update-utmp.service: + /usr/lib/systemd/system/systemd-user-sessions.service: + /usr/lib/systemd/system/systemd-volatile-root.service: + /usr/lib/systemd/system/time-set.target: + /usr/lib/systemd/system/time-sync.target: + /usr/lib/systemd/system/timers.target: + /usr/lib/systemd/system/timers.target.wants/systemd-tmpfiles-clean.timer: + /usr/lib/systemd/system/umount.target: + /usr/lib/systemd/system/usb-gadget.target: + /usr/lib/systemd/system/user-.slice.d/10-defaults.conf: + /usr/lib/systemd/system/user-runtime-dir@.service: + /usr/lib/systemd/system/user.slice: + /usr/lib/systemd/system/user@.service: + /usr/lib/systemd/system/user@.service.d/10-login-barrier.conf: + /usr/lib/systemd/system/user@.service.d/timeout.conf: + /usr/lib/systemd/system/user@0.service.d/10-login-barrier.conf: + /usr/lib/systemd/system/veritysetup-pre.target: + /usr/lib/systemd/system/veritysetup.target: + /usr/lib/systemd/system/x11-common.service: + /usr/lib/systemd/user-environment-generators/30-systemd-environment-d-generator: + /usr/lib/systemd/user-generators/systemd-xdg-autostart-generator: + /usr/lib/systemd/user-preset/90-systemd.preset: + /usr/lib/systemd/user/app.slice: + /usr/lib/systemd/user/background.slice: + /usr/lib/systemd/user/basic.target: + /usr/lib/systemd/user/bluetooth.target: + /usr/lib/systemd/user/default.target: + /usr/lib/systemd/user/exit.target: + /usr/lib/systemd/user/graphical-session-pre.target: + /usr/lib/systemd/user/graphical-session.target: + /usr/lib/systemd/user/paths.target: + /usr/lib/systemd/user/printer.target: + /usr/lib/systemd/user/session.slice: + /usr/lib/systemd/user/shutdown.target: + /usr/lib/systemd/user/smartcard.target: + /usr/lib/systemd/user/sockets.target: + /usr/lib/systemd/user/sound.target: + /usr/lib/systemd/user/systemd-exit.service: + /usr/lib/systemd/user/systemd-tmpfiles-clean.service: + /usr/lib/systemd/user/systemd-tmpfiles-clean.timer: + /usr/lib/systemd/user/systemd-tmpfiles-setup.service: + /usr/lib/systemd/user/timers.target: + /usr/lib/systemd/user/xdg-desktop-autostart.target: + /usr/lib/sysusers.d/basic.conf: + /usr/lib/sysusers.d/systemd-journal.conf: + /usr/lib/sysusers.d/systemd-network.conf: + /usr/lib/tmpfiles.d/credstore.conf: + /usr/lib/tmpfiles.d/debian.conf: + /usr/lib/tmpfiles.d/home.conf: + /usr/lib/tmpfiles.d/journal-nocow.conf: + /usr/lib/tmpfiles.d/legacy.conf: + /usr/lib/tmpfiles.d/provision.conf: + /usr/lib/tmpfiles.d/systemd-network.conf: + /usr/lib/tmpfiles.d/systemd-nologin.conf: + /usr/lib/tmpfiles.d/systemd-pstore.conf: + /usr/lib/tmpfiles.d/systemd-tmp.conf: + /usr/lib/tmpfiles.d/systemd.conf: + /usr/lib/tmpfiles.d/tmp.conf: + /usr/lib/tmpfiles.d/var.conf: + /usr/lib/tmpfiles.d/x11.conf: + /usr/share/systemd/kbd-model-map: + /usr/share/systemd/language-fallback-map: + /usr/share/systemd/tmp.mount: + + dbus-config: + contents: + /usr/lib/udev/rules.d/70-uaccess.rules: + /usr/lib/udev/rules.d/71-seat.rules: + /usr/lib/udev/rules.d/73-seat-late.rules: + /usr/lib/udev/rules.d/99-systemd.rules: + /usr/share/dbus-1/services/org.freedesktop.systemd1.service: + /usr/share/dbus-1/system-services/org.freedesktop.hostname1.service: + /usr/share/dbus-1/system-services/org.freedesktop.locale1.service: + /usr/share/dbus-1/system-services/org.freedesktop.login1.service: + /usr/share/dbus-1/system-services/org.freedesktop.network1.service: + /usr/share/dbus-1/system-services/org.freedesktop.systemd1.service: + /usr/share/dbus-1/system-services/org.freedesktop.timedate1.service: + /usr/share/dbus-1/system.d/org.freedesktop.hostname1.conf: + /usr/share/dbus-1/system.d/org.freedesktop.locale1.conf: + /usr/share/dbus-1/system.d/org.freedesktop.login1.conf: + /usr/share/dbus-1/system.d/org.freedesktop.network1.conf: + /usr/share/dbus-1/system.d/org.freedesktop.systemd1.conf: + /usr/share/dbus-1/system.d/org.freedesktop.timedate1.conf: + + # Generated config slice is to emulate symlinks or initial state + # config generated by systemd upon install. + # Systemd performs a lot of initialization upon install, however since systemd + # does actually not rely on these install actions (since all of these are run as + # a part of the first install / early setup upon first boot), a lot of this is + # left out. It's done like that because systemd needs to be usable after install + # on a running system, but this is not the case here. + # These are the few that seems to be not emulated + generated-config: + contents: + /etc/systemd/system/getty.target.wants/getty@tty1.service: + symlink: /usr/lib/systemd/system/getty@.service + /etc/systemd/system/multi-user.target.wants/remote-fs.target: + symlink: /usr/lib/systemd/system/remote-fs.target + /etc/systemd/system/sysinit.target.wants/systemd-pstore.service: + symlink: /usr/lib/systemd/system/systemd-pstore.service + /var/log/journal/: {make: true} + + libs: + contents: + /usr/lib/*-linux-*/cryptsetup/libcryptsetup-token-systemd-fido2.so: + /usr/lib/*-linux-*/cryptsetup/libcryptsetup-token-systemd-pkcs11.so: + /usr/lib/*-linux-*/cryptsetup/libcryptsetup-token-systemd-tpm2.so: + arch: [amd64, arm64, riscv64] + + polkit-config: + contents: + /usr/share/polkit-1/actions/org.freedesktop.hostname1.policy: + /usr/share/polkit-1/actions/org.freedesktop.locale1.policy: + /usr/share/polkit-1/actions/org.freedesktop.login1.policy: + /usr/share/polkit-1/actions/org.freedesktop.network1.policy: + /usr/share/polkit-1/actions/org.freedesktop.systemd1.policy: + /usr/share/polkit-1/actions/org.freedesktop.timedate1.policy: + /usr/share/polkit-1/actions/org.freedesktop.timesync1.policy: + /usr/share/polkit-1/rules.d/systemd-networkd.rules: + + copyright: + contents: + /usr/share/doc/systemd/copyright: diff --git a/spread.yaml b/spread.yaml index 1ddafa8e4..aa3205684 100644 --- a/spread.yaml +++ b/spread.yaml @@ -17,7 +17,8 @@ backends: echo "Allocating $SPREAD_SYSTEM..." docker_image=$(echo $SPREAD_SYSTEM | awk -F '-' '{print $1":"$2}') docker_arch=$(echo $SPREAD_SYSTEM | awk -F '-' '{print $NF}') - docker run --rm -e DEBIAN_FRONTEND=noninteractice \ + docker run --cap-add SYS_ADMIN --security-opt apparmor=unconfined \ + --rm -e DEBIAN_FRONTEND=noninteractice \ -e usr=$SPREAD_SYSTEM_USERNAME -e pass=$SPREAD_SYSTEM_PASSWORD \ --name $SPREAD_SYSTEM -d $docker_arch/$docker_image sh -c ' set -x diff --git a/tests/spread/integration/mount/task.yaml b/tests/spread/integration/mount/task.yaml new file mode 100644 index 000000000..05d7c6918 --- /dev/null +++ b/tests/spread/integration/mount/task.yaml @@ -0,0 +1,9 @@ +summary: Integration tests for mount + +execute: | + # Chisel a minimum number of slices to give us a runnable system that we can + # test in. + rootfs="$(install-slices bash_bins coreutils_bins passwd_config base-files_base mount_bins)" + + cp test.sh "${rootfs}/" + chroot "${rootfs}/" /test.sh diff --git a/tests/spread/integration/mount/test.sh b/tests/spread/integration/mount/test.sh new file mode 100755 index 000000000..922ca1166 --- /dev/null +++ b/tests/spread/integration/mount/test.sh @@ -0,0 +1,14 @@ +#!/bin/bash + +# Run a smoke test for mount and umount to verify that +# they are doing what we expect by testing on /proc +mkdir /test-bin +mount --bind /bin /test-bin +count=$(ls /test-bin | wc -l) +umount /test-bin + +if [ $count -eq 0 ] +then + echo "no files in /test-bin, did mount not work?" + exit 1 +fi diff --git a/tests/spread/integration/systemd/task.yaml b/tests/spread/integration/systemd/task.yaml new file mode 100644 index 000000000..d77145ad9 --- /dev/null +++ b/tests/spread/integration/systemd/task.yaml @@ -0,0 +1,15 @@ +summary: Integration tests for systemd + +execute: | + # Chisel a minimum number of slices to give us a runnable system that we can + # test in. + rootfs="$(install-slices bash_bins coreutils_bins passwd_config base-files_base systemd_bins)" + + # systemd needs proc mounted + mkdir "${rootfs}"/proc + mount --bind /proc "${rootfs}"/proc + + cp test.sh "${rootfs}/" + chroot "${rootfs}/" /test.sh + + umount "${rootfs}"/proc diff --git a/tests/spread/integration/systemd/test.sh b/tests/spread/integration/systemd/test.sh new file mode 100755 index 000000000..4c5b137b2 --- /dev/null +++ b/tests/spread/integration/systemd/test.sh @@ -0,0 +1,18 @@ +#!/bin/bash + +# Run some smoke-tests by invoking a couple of commands +# from systemd to verify it's doing exactly what we expect +# it to +systemctl disable getty@tty1.service +! test -f "/etc/systemd/system/getty.target.wants/getty@tty1.service" + +systemctl enable getty@tty1.service +test -f "/etc/systemd/system/getty.target.wants/getty@tty1.service" + +# run preset-all and test for one of the expected symlinks +systemctl preset-all +test -f "/etc/systemd/system/ctrl-alt-del.target" + +# Run some auxiliary commands to ensure they don't fail +systemd --help +journalctl --update-catalog