diff options
author | Mario Preksavec <mario@slackware.hr> | 2021-08-14 22:19:14 +0200 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2021-08-19 18:33:51 +0700 |
commit | b0768026fe3b8de9afc35d95c8958fb61233bfd5 (patch) | |
tree | 1cb5aadcdac6d5fc322d4fe0764fb20961c046da /system/xen/dom0/kernel-xen.sh | |
parent | 25d63828e9ada783c9f7ead2e012b90861a735b3 (diff) |
system/xen: Updated for version 4.15.0.
Signed-off-by: Mario Preksavec <mario@slackware.hr>
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'system/xen/dom0/kernel-xen.sh')
-rw-r--r-- | system/xen/dom0/kernel-xen.sh | 22 |
1 files changed, 3 insertions, 19 deletions
diff --git a/system/xen/dom0/kernel-xen.sh b/system/xen/dom0/kernel-xen.sh index ce4c95e783ad1..e36770798bf61 100644 --- a/system/xen/dom0/kernel-xen.sh +++ b/system/xen/dom0/kernel-xen.sh @@ -5,9 +5,8 @@ # Written by Chris Abela <chris.abela@maltats.com>, 20100515 # Modified by Mario Preksavec <mario@slackware.hr> -KERNEL=${KERNEL:-4.4.240} -XEN=${XEN:-4.13.1} -BOOTLOADER=${BOOTLOADER:-lilo} +KERNEL=${KERNEL:-5.13.8} +XEN=${XEN:-4.15.0} ROOTMOD=${ROOTMOD:-ext4} ROOTFS=${ROOTFS:-ext4} @@ -15,18 +14,11 @@ ROOTDEV=${ROOTDEV:-/dev/sda2} if [ -z "$ARCH" ]; then case "$( uname -m )" in - i?86) ARCH=i686 ;; x86_64) ARCH=x86_64 ;; *) echo "Unsupported architecture detected ($ARCH)"; exit ;; esac fi -if [ "$BOOTLOADER" = lilo ] && [ ! -x /usr/bin/mbootpack ]; then - echo "LILO bootloader requires mbootpack." - echo "Get it from slackbuilds.org and rerun this script." - exit -fi - if [ ! -d /usr/src/linux-$KERNEL ]; then echo "Missing kernel source in /usr/src/linux-$KERNEL" echo "Get it from kernel.org and rerun this script." @@ -78,15 +70,7 @@ cp -a $TMP/lib/modules/$KERNEL-xen /lib/modules mkinitrd -c -k $KERNEL-xen -m $ROOTMOD -f $ROOTFS -r $ROOTDEV \ -o /boot/initrd-$KERNEL-xen.gz -# For lilo we use mbootpack -if [ "$BOOTLOADER" = lilo ]; then - gzip -d -c /boot/xen-$XEN.gz > xen-$XEN - mbootpack -m arch/x86/boot/bzImage -m /boot/initrd-$KERNEL-xen.gz xen-$XEN \ - -o /boot/vmlinuz-$KERNEL-xen -else - cp arch/x86/boot/bzImage /boot/vmlinuz-$KERNEL-xen -fi - +cp arch/x86/boot/bzImage /boot/vmlinuz-$KERNEL-xen cp System.map /boot/System.map-$KERNEL-xen cp .config /boot/config-$KERNEL-xen |