The following changes were made:
* Added SHELL = /bin/bash to Makefile * Added REPO (core) * Added grub as dependency * Added bc and gcc as BUILDDEPS * Removed modules.dep from package * Added Module.symvers to package
This commit is contained in:
@@ -50,7 +50,7 @@ CONFIG_BUILDTIME_EXTABLE_SORT=y
|
||||
CONFIG_INIT_ENV_ARG_LIMIT=32
|
||||
CONFIG_CROSS_COMPILE=""
|
||||
# CONFIG_COMPILE_TEST is not set
|
||||
CONFIG_LOCALVERSION="-8"
|
||||
CONFIG_LOCALVERSION="-9"
|
||||
# CONFIG_LOCALVERSION_AUTO is not set
|
||||
CONFIG_HAVE_KERNEL_GZIP=y
|
||||
CONFIG_HAVE_KERNEL_BZIP2=y
|
||||
|
||||
24
SNAP/usher
24
SNAP/usher
@@ -7,27 +7,23 @@ case $1 in
|
||||
exit 0
|
||||
;;
|
||||
postinst)
|
||||
if [[ ${TARGET} ]]; then
|
||||
echo "Running within ${TARGET} for kernel ${VERSION}"
|
||||
echo "Running for kernel ${VERSION}"
|
||||
|
||||
chroot ${TARGET} mkinitramfs ${VERSION}
|
||||
chroot ${TARGET} grub-mkconfig -o /boot/grub/grub.cfg
|
||||
else
|
||||
echo "Running for kernel ${VERSION}"
|
||||
mkinitramfs ${VERSION}
|
||||
grub-mkconfig -o /boot/grub/grub.cfg
|
||||
|
||||
mkinitramfs ${VERSION}
|
||||
grub-mkconfig -o /boot/grub/grub.cfg
|
||||
fi
|
||||
|
||||
if [ ! -f ${TARGET}/etc/modprobe.d/usb.conf ]; then
|
||||
cp ${TARGET}/usr/share/linux-${VERSION}/usb.conf \
|
||||
${TARGET}/etc/modprobe.d/usb.conf
|
||||
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)
|
||||
exit 0
|
||||
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