summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHelmut Grohne <helmut@subdivi.de>2023-01-17 19:06:34 +0100
committerHelmut Grohne <helmut@subdivi.de>2023-01-17 19:06:34 +0100
commitd6c10bd8bd690434672873dcc7d9314d986c7e3e (patch)
tree29e5a4989c084820571277f26fdcf06cd5326c3a
parent013b5b24017f524720a2d34d5d83b0090187c99c (diff)
downloaddebvm-d6c10bd8bd690434672873dcc7d9314d986c7e3e.tar.gz
debvm-create: install an initramfs generator
On Debian, the linux images depend on linux-initramfs-tool, so this isn't actually a change here. On Ubuntu, this dependency is missing, so we actually add it. Unfortunately, initramfs-tools fails to install as it cannot determine the root filesystem type. Reported-by: Jochen Sprickerhof <git@jochen.sprickerhof.de>
-rwxr-xr-xshare/customize-kernel.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/share/customize-kernel.sh b/share/customize-kernel.sh
index fa94df7..c7122c2 100755
--- a/share/customize-kernel.sh
+++ b/share/customize-kernel.sh
@@ -53,4 +53,4 @@ else
set -- -oDPkg::Chroot-Directory="$TARGET"
fi
-apt-get --yes satisfy "$@" "linux-image-cloud-$KERNEL_ARCH | linux-image-$KERNEL_ARCH | linux-image-generic"
+apt-get --yes satisfy "$@" "linux-image-cloud-$KERNEL_ARCH | linux-image-$KERNEL_ARCH | linux-image-generic" "initramfs-tools | linux-initramfs-tool"