renaming kernel-odroid-u2 to odroid-u2-kernel; version bump; enable AUTOFS4
This commit is contained in:
parent
3772c96875
commit
1291b00559
|
@ -1 +0,0 @@
|
||||||
kernel-odroid-u2/
|
|
|
@ -0,0 +1 @@
|
||||||
|
odroid-u2-kernel
|
|
@ -1,9 +1,9 @@
|
||||||
# Template file for 'kernel-odroid-u2'
|
# Template file for 'odroid-u2-kernel'
|
||||||
#
|
#
|
||||||
# Latest commit as of 20140121
|
# Latest commit as of 20140123
|
||||||
_githash="9277d733a276fb27da1061d5210ac3c45a16ac18"
|
_githash="452f4a053d69404a1f69fd3aa4af8ee6524ab2b2"
|
||||||
|
|
||||||
pkgname=kernel-odroid-u2
|
pkgname=odroid-u2-kernel
|
||||||
version=3.8.13.14
|
version=3.8.13.14
|
||||||
revision=1
|
revision=1
|
||||||
maintainer="Enno Boland <eb@s01.de>"
|
maintainer="Enno Boland <eb@s01.de>"
|
||||||
|
@ -12,8 +12,10 @@ license="GPL-2"
|
||||||
short_desc="The Linux kernel and modules for the Odroid U2/U3 (3.12 series [git ${_githash}])"
|
short_desc="The Linux kernel and modules for the Odroid U2/U3 (3.12 series [git ${_githash}])"
|
||||||
create_srcdir=yes
|
create_srcdir=yes
|
||||||
distfiles="https://github.com/hardkernel/linux/archive/${_githash}.tar.gz"
|
distfiles="https://github.com/hardkernel/linux/archive/${_githash}.tar.gz"
|
||||||
checksum=894cdbbdd0e5ef3ec4b57e4aef57f52fd83ed6fa99a2dc11aaca96ef028a9c99
|
checksum=b351402dda80802c006574e319f39c22ef8ca48e049d65a9224fb518d67ffa3c
|
||||||
wrksrc="linux-${_githash}"
|
wrksrc="linux-${_githash}"
|
||||||
|
provides="kernel-odroid-u2-${version}_${revision}"
|
||||||
|
replaces="kernel-odroid-u2>=0"
|
||||||
|
|
||||||
_kernver="${version}_${revision}"
|
_kernver="${version}_${revision}"
|
||||||
|
|
||||||
|
@ -45,6 +47,9 @@ do_configure() {
|
||||||
|
|
||||||
# Always use our revision to CONFIG_LOCALVERSION to match our pkg version.
|
# Always use our revision to CONFIG_LOCALVERSION to match our pkg version.
|
||||||
sed -i -e "s|^\(CONFIG_LOCALVERSION=\).*|\1\"_${revision}\"|" .config
|
sed -i -e "s|^\(CONFIG_LOCALVERSION=\).*|\1\"_${revision}\"|" .config
|
||||||
|
|
||||||
|
# Enable Autofs for systemd
|
||||||
|
sed -i -e "s|.*CONFIG_AUTOFS4_FS.*|CONFIG_AUTOFS4_FS=y|" .config
|
||||||
}
|
}
|
||||||
|
|
||||||
do_build() {
|
do_build() {
|
||||||
|
@ -67,7 +72,7 @@ do_install() {
|
||||||
|
|
||||||
vinstall arch/arm/boot/zImage 644 boot
|
vinstall arch/arm/boot/zImage 644 boot
|
||||||
|
|
||||||
hdrdest=${DESTDIR}/usr/src/kernel-headers-odroid-${_kernver}
|
hdrdest=${DESTDIR}/usr/src/odroid-u2-kernel-headers-${_kernver}
|
||||||
|
|
||||||
# Switch to /usr.
|
# Switch to /usr.
|
||||||
vmkdir usr
|
vmkdir usr
|
||||||
|
@ -75,7 +80,7 @@ do_install() {
|
||||||
|
|
||||||
cd ${DESTDIR}/usr/lib/modules/${_kernver}
|
cd ${DESTDIR}/usr/lib/modules/${_kernver}
|
||||||
rm -f source build
|
rm -f source build
|
||||||
ln -sf ../../../src/kernel-headers-odroid-${_kernver} build
|
ln -sf ../../../src/odroid-u2-kernel-headers-${_kernver} build
|
||||||
|
|
||||||
cd ${wrksrc}
|
cd ${wrksrc}
|
||||||
|
|
||||||
|
@ -152,7 +157,7 @@ do_install() {
|
||||||
depmod -b ${DESTDIR}/usr -F System.map ${_kernver}
|
depmod -b ${DESTDIR}/usr -F System.map ${_kernver}
|
||||||
}
|
}
|
||||||
|
|
||||||
kernel-headers-odroid-u2_package() {
|
odroid-u2-kernel-headers_package() {
|
||||||
nostrip=yes
|
nostrip=yes
|
||||||
noverifyrdeps=yes
|
noverifyrdeps=yes
|
||||||
short_desc="Linux kernel headers for the Odroid U2/U3 (3.12 series [${_githash}])"
|
short_desc="Linux kernel headers for the Odroid U2/U3 (3.12 series [${_githash}])"
|
Loading…
Reference in New Issue