Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(24.04): add cloud-init and its dependencies #303

Draft
wants to merge 12 commits into
base: ubuntu-24.04
Choose a base branch
from
Draft
19 changes: 19 additions & 0 deletions slices/cloud-guest-utils.yaml
Original file line number Diff line number Diff line change
@@ -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:
115 changes: 115 additions & 0 deletions slices/cloud-init.yaml
Original file line number Diff line number Diff line change
@@ -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/[email protected]/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:
35 changes: 35 additions & 0 deletions slices/dhcpcd-base.yaml
Original file line number Diff line number Diff line change
@@ -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:
68 changes: 68 additions & 0 deletions slices/e2fsprogs.yaml
Original file line number Diff line number Diff line change
@@ -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/[email protected]:
/lib/systemd/system/e2scrub_all.service:
/lib/systemd/system/e2scrub_all.timer:
/lib/systemd/system/[email protected]:
/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:
23 changes: 23 additions & 0 deletions slices/fdisk.yaml
Original file line number Diff line number Diff line change
@@ -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:
66 changes: 66 additions & 0 deletions slices/iproute2.yaml
Original file line number Diff line number Diff line change
@@ -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:
15 changes: 15 additions & 0 deletions slices/libargon2-1.yaml
Original file line number Diff line number Diff line change
@@ -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:
17 changes: 17 additions & 0 deletions slices/libbpf1.yaml
Original file line number Diff line number Diff line change
@@ -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:
21 changes: 21 additions & 0 deletions slices/libcryptsetup12.yaml
Original file line number Diff line number Diff line change
@@ -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:
Loading
Loading