]> git.ipfire.org Git - ipfire-3.x.git/commitdiff
kernel: Add empty /etc/ld.so.conf.d/ configuration file for dracut.
authorStefan Schantl <stefan.schantl@ipfire.org>
Sun, 3 Apr 2011 14:13:48 +0000 (16:13 +0200)
committerStefan Schantl <stefan.schantl@ipfire.org>
Sun, 3 Apr 2011 14:13:48 +0000 (16:13 +0200)
References #164.

pkgs/kernel/kernel.nm

index 1e0223f54a04a604d92144d71c2af12e848b51c9..3a3742594ea27ac0107797f62dbecec9ac85cc05 100644 (file)
@@ -26,7 +26,7 @@ include $(PKGROOT)/Include
 
 PKG_NAME       = linux
 PKG_VER        = 2.6.38.2
-PKG_REL        = 1
+PKG_REL        = 2
 
 PKG_MAINTAINER = Michael Tremer <michael.tremer@ipfire.org>
 PKG_GROUPS     = System/Kernels
@@ -106,4 +106,9 @@ define STAGE_INSTALL
                $(BUILDROOT)/usr/include/asm*/atomic.h \
                $(BUILDROOT)/usr/include/asm*/io.h \
                $(BUILDROOT)/usr/include/asm*/irq.h
+
+        # Create an empty settings file for dracut
+        mkdir -vp $(BUILDROOT)/etc/ld.so.conf.d/
+        echo "# Placeholder file, no vDSO hwcap entries used in this kernel." \
+        > $(BUILDROOT)/etc/ld.so.conf.d/kernel-$(FULLVER).conf
 endef