summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndré Fabian Silva Delgado <andre@pc-01.localdomain>2012-03-13 03:00:50 -0300
committerAndré Fabian Silva Delgado <andre@pc-01.localdomain>2012-03-13 03:00:50 -0300
commit98b7f4a97096919d0bb91e87659254e5e61eb69a (patch)
tree7d7fa33f2d00c082abc3a1a25364072ed8c54a21
parent8f6dbf85ee0f0fca0705ea253e3d8d0d2128a890 (diff)
downloadabslibre-98b7f4a97096919d0bb91e87659254e5e61eb69a.tar.gz
abslibre-98b7f4a97096919d0bb91e87659254e5e61eb69a.tar.bz2
abslibre-98b7f4a97096919d0bb91e87659254e5e61eb69a.zip
kernels/linux-libre-aufs_friendly
-rw-r--r--kernels/linux-libre-aufs_friendly/PKGBUILD7
-rw-r--r--kernels/linux-libre-aufs_friendly/linux-libre-aufs_friendly.install2
2 files changed, 3 insertions, 6 deletions
diff --git a/kernels/linux-libre-aufs_friendly/PKGBUILD b/kernels/linux-libre-aufs_friendly/PKGBUILD
index 49b0adba1..8432cea67 100644
--- a/kernels/linux-libre-aufs_friendly/PKGBUILD
+++ b/kernels/linux-libre-aufs_friendly/PKGBUILD
@@ -6,6 +6,7 @@
# Maintainer (Parabola): Sorin-Mihai Vârgolici <smv@yobicore.org>
# Maintainer (Parabola): André Silva <andre.paulista@adinet.com.uy>
# Maintainer (Parabola): Michał Masłowski <mtjm@mtjm.eu>
+# Contributor (Parabola): Márcio Silva <coadde@adinet.com.uy>
# In order to just get linux-libre as it used to be, with the exported symbols for AUFS-libre:
@@ -17,7 +18,7 @@
# Comment this line
pkgname=('linux-libre-aufs_friendly' 'linux-libre-aufs_friendly-headers') # Build stock -LIBRE kernel with AUFS-libre support
-_kernelname=${pkgname#linux-libre}
+_kernelname=-LIBRE-AUFS_FRIENDLY
_basekernel=3.2
_sublevel=9
pkgver=${_basekernel}.${_sublevel}
@@ -205,10 +206,6 @@ package_linux-libre-aufs_friendly() {
# set correct depmod command for install
sed \
- -e "s/KERNEL_NAME=.*/KERNEL_NAME=${_kernelname}/g" \
- -e "s/KERNEL_VERSION=.*/KERNEL_VERSION=${_kernver}/g" \
- -i "${startdir}/${pkgname}.install"
- sed \
-e "s|ALL_kver=.*|ALL_kver=\"/boot/vmlinuz-${pkgname}\"|g" \
-e "s|default_image=.*|default_image=\"/boot/initramfs-${pkgname}.img\"|g" \
-e "s|fallback_image=.*|fallback_image=\"/boot/initramfs-${pkgname}-fallback.img\"|g" \
diff --git a/kernels/linux-libre-aufs_friendly/linux-libre-aufs_friendly.install b/kernels/linux-libre-aufs_friendly/linux-libre-aufs_friendly.install
index eb2293d00..bef4f7b7d 100644
--- a/kernels/linux-libre-aufs_friendly/linux-libre-aufs_friendly.install
+++ b/kernels/linux-libre-aufs_friendly/linux-libre-aufs_friendly.install
@@ -14,7 +14,7 @@ post_install () {
fi
# compat symlinks for the official kernels only
- if [ -z "${KERNEL_NAME}" -o "${KERNEL_NAME}" = "-lts" ]; then
+ if [ -z "${KERNEL_NAME}" -o "${KERNEL_NAME}" = "-aufs_friendly" ]; then
loaders="$(find /boot -name syslinux.cfg -or -name extlinux.conf -or -name grub.cfg -or -name menu.lst)"
[ -f /etc/lilo.conf ] && loaders="$loaders /etc/lilo.conf"
if [ -n "${loaders}" ] && grep -q -e vmlinuz26 -e kernel26.img -e kernel26-fallback.img $loaders; then