Skip to content

Commit

Permalink
Add missing disk utils to alpine initramfs
Browse files Browse the repository at this point in the history
Signed-off-by: Itxaka <[email protected]>
  • Loading branch information
Itxaka committed Oct 16, 2023
1 parent 0eca0bd commit 718d7b8
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 11 deletions.
4 changes: 2 additions & 2 deletions packages/alpine/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ package_dir: "/package"
prelude:
- apk update
# multipath-tools and cryptsetup is needed to bring modules and udev rules
- apk add linux-rpi4 linux-firmware-none mkinitfs dbus eudev eudev-hwids mdadm-udev device-mapper-udev lvm2 findmnt rsync parted cryptsetup multipath-tools openrc blkid
- apk add linux-rpi4 linux-firmware-none mkinitfs dbus cloud-utils-growpart e2fsprogs e2fsprogs-extra xfsprogs xfsprogs-extra sgdisk eudev eudev-hwids mdadm-udev device-mapper-udev lvm2 findmnt rsync parted cryptsetup multipath-tools openrc blkid
steps:
- kernel=$(ls /lib/modules | head -n1) && depmod -a "${kernel}"
- mkdir -p /package/boot
Expand Down Expand Up @@ -53,7 +53,7 @@ package_dir: "/package"
prelude:
- apk update
# multipath-tools and cryptsetup is needed to bring modules and udev rules
- apk add linux-lts linux-firmware-none mkinitfs dbus eudev eudev-hwids mdadm-udev device-mapper-udev lvm2 findmnt rsync parted cryptsetup multipath-tools openrc blkid
- apk add linux-lts linux-firmware-none mkinitfs dbus cloud-utils-growpart e2fsprogs e2fsprogs-extra xfsprogs xfsprogs-extra sgdisk eudev eudev-hwids mdadm-udev device-mapper-udev lvm2 findmnt rsync parted cryptsetup multipath-tools openrc blkid
steps:
- kernel=$(ls /lib/modules | head -n1) && depmod -a "${kernel}"
- mkdir -p /package/boot
Expand Down
4 changes: 2 additions & 2 deletions packages/alpine/collection.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
packages:
- name: "alpine"
category: "distro-kernel"
version: "6.1.56-3"
version: "6.1.56-4"
description: "Provides kernel and custom initrd for alpine"
labels:
autobump.strategy: "custom"
Expand All @@ -14,7 +14,7 @@ packages:
package.version: "6.1.56"
- name: "alpine-rpi"
category: "distro-kernel"
version: "6.1.55-3"
version: "6.1.55-4"
description: "Provides kernel and custom initrd for alpine"
labels:
autobump.strategy: "custom"
Expand Down
22 changes: 15 additions & 7 deletions packages/alpine/files/immucore.files
Original file line number Diff line number Diff line change
@@ -1,18 +1,26 @@
/usr/bin/immucore
/usr/bin/kairos-agent
/sbin/lvm
/sbin/blkid
/bin/lsblk
/bin/findmnt
/bin/udevadm
/sbin/lvm
/sbin/blkid
/sbin/udevadm
/sbin/udevd
/sbin/dmsetup
/sbin/e2fsck
/sbin/openrc
/sbin/openrc-run
/etc/udev/*
/lib/udev/*
/usr/lib/udev/*
/usr/lib/libudev*
/usr/bin/immucore
/usr/bin/kairos-agent
/usr/bin/rsync
/usr/bin/sgdisk
/usr/bin/growpart
/usr/bin/dbus-uuidgen
/usr/sbin/multipath
/usr/sbin/parted
/sbin/openrc
/sbin/openrc-run
/usr/bin/dbus-uuidgen
/usr/sbin/partprobe
/usr/sbin/resize2fs
/usr/sbin/xfs_growfs

0 comments on commit 718d7b8

Please sign in to comment.