Rebuild for new sl package manager
This commit is contained in:
3
SL/README
Normal file
3
SL/README
Normal file
@@ -0,0 +1,3 @@
|
||||
This is the directory where the manifest, snapinfo, and files.tar.gz
|
||||
files will be created. It is also where the usher file should be
|
||||
placed if it is required by the package.
|
||||
BIN
SL/files.tar.gz
Normal file
BIN
SL/files.tar.gz
Normal file
Binary file not shown.
3768
SL/manifest
Normal file
3768
SL/manifest
Normal file
File diff suppressed because it is too large
Load Diff
12
SL/slinfo
Normal file
12
SL/slinfo
Normal file
@@ -0,0 +1,12 @@
|
||||
name: linux-3.16.37-10
|
||||
version: 3.16.37-10
|
||||
arch: x86_64
|
||||
depends: grub,mkinitramfs,linux-firmware
|
||||
builddeps: bc,gcc
|
||||
srcpkg: linux-3.16.37
|
||||
bytes: 169728000
|
||||
url: https://www.kernel.org/
|
||||
repo: core
|
||||
sha256man: 940e81b3e91428aad2ec8f87483ec13bb3a54f117e07bd9e75b938b41e289c87
|
||||
brief: The Linux kernel
|
||||
description: Linux is a clone of the operating system Unix, written from scratch by Linus Torvalds with assistance from a loosely-knit team of hackers across the Net.
|
||||
2
SL/usb.conf
Normal file
2
SL/usb.conf
Normal file
@@ -0,0 +1,2 @@
|
||||
install ohci_hcd /sbin/modprobe ehci_hcd ; /sbin/modprobe -i ohci_hcd ; true
|
||||
install uhci_hcd /sbin/modprobe ehci_hcd ; /sbin/modprobe -i uhci_hcd ; true
|
||||
29
SL/usher
Executable file
29
SL/usher
Executable file
@@ -0,0 +1,29 @@
|
||||
#!/bin/bash
|
||||
|
||||
set -e
|
||||
|
||||
case $1 in
|
||||
preinst)
|
||||
exit 0
|
||||
;;
|
||||
postinst)
|
||||
echo "Running for kernel ${VERSION}"
|
||||
|
||||
mkinitramfs ${VERSION}
|
||||
grub-mkconfig -o /boot/grub/grub.cfg
|
||||
|
||||
if [ ! -f /etc/modprobe.d/usb.conf ]; then
|
||||
cp /usr/share/linux-${VERSION}/usb.conf /etc/modprobe.d/usb.conf
|
||||
fi
|
||||
;;
|
||||
prerm)
|
||||
exit 0
|
||||
;;
|
||||
postrm)
|
||||
if [ -f /boot/initrd.img-${VERSION} ]; then
|
||||
rm /boot/initrd.img-${VERSION}
|
||||
fi
|
||||
|
||||
grub-mkconfig -o /boot/grub/grub.cfg
|
||||
;;
|
||||
esac
|
||||
Reference in New Issue
Block a user