From 319ca03a33f9ec728ea87349ebd627ba02aab56f Mon Sep 17 00:00:00 2001 From: davidovski Date: Mon, 17 Jan 2022 22:43:31 +0000 Subject: added linux and system configs --- repo/linux/linux.xibuild | 46 ++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 46 insertions(+) create mode 100644 repo/linux/linux.xibuild (limited to 'repo/linux') diff --git a/repo/linux/linux.xibuild b/repo/linux/linux.xibuild new file mode 100644 index 0000000..f84e95a --- /dev/null +++ b/repo/linux/linux.xibuild @@ -0,0 +1,46 @@ +#!/bin/bash + +DEPS=() + +PKG_VER=5.15.14 +SOURCE=https://cdn.kernel.org/pub/linux/kernel/v$(echo $PKG_VER | cut -d. -f1).x/linux-$PKG_VER.tar.xz + +prepare () { + curl https://raw.githubusercontent.com/archlinux/svntogit-packages/packages/linux/trunk/config > .config + + make olddefconfig + make -s kernelrelease > version + echo "Prepared linux version $( $PKG_DEST/etc/modprobe.d/usb.conf << "EOF" +# Begin /etc/modprobe.d/usb.conf + +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 + +# End /etc/modprobe.d/usb.conf +EOF + +} + -- cgit v1.2.1