From e7ecf4bc6a62dd7e498138175ae5989bac774b41 Mon Sep 17 00:00:00 2001 From: Daniel Schulte <trilader@gmail.com> Date: Thu, 25 Sep 2014 16:30:55 +0200 Subject: [PATCH] Bugfix: Es gibt keinen 32-Bit signed Kernel --- scripts/remaster_rootfs.sh | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/scripts/remaster_rootfs.sh b/scripts/remaster_rootfs.sh index e30cebf..0aff6ab 100755 --- a/scripts/remaster_rootfs.sh +++ b/scripts/remaster_rootfs.sh @@ -67,8 +67,10 @@ function install_packages() # Some daily images do not have a kernel ?!? #uncomment this if you remaster a daily build (fix kernel version!) - #aptitude reinstall linux-image-generic-lts-raring -y - #apt-cache depends linux-image-generic-lts-raring | tail -n+2 | awk '{print $NF}' | xargs aptitude reinstall -y + KERNEL_PKG=linux-signed-generic-lts-trusty + [ "$(uname -m)" == "x86_64" ] || KERNEL_PKG=linux-image-generic-lts-trusty + aptitude reinstall $KERNEL_PKG -y + apt-cache depends $KERNEL_PKG | tail -n+2 | awk '{print $NF}' | xargs aptitude reinstall -y install_packages_from_file "$CONTRIB_DIR/pre_installed_packages" "" install_packages_from_file "$CONTRIB_DIR/pre_installed_packages.without-recommends" "--without-recommends" -- GitLab