CRUX-ARM : Home

Home :: Documentation :: Download :: Development :: Community :: Ports :: Packages :: Bugs :: Links :: About :: Donors
Added code to override the user@host string displayed during boot and in /proc/version
authorJose V Beneyto <sepen@crux.nu>
Mon, 15 Oct 2012 18:42:36 +0000 (18:42 +0000)
committerJose V Beneyto <sepen@crux.nu>
Mon, 15 Oct 2012 18:42:36 +0000 (18:42 +0000)
Makefile

index 9684757998b8b92b5f70525d70de4c3a53550215..0edb4c8c7e690d753fc2d38654b12c1102124755 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -24,7 +24,8 @@ $(WORK)/linux-$(KERNEL_VERSION).tar.bz2:
 $(WORK)/linux-$(KERNEL_VERSION): $(WORK)/linux-$(KERNEL_VERSION).tar.bz2 $(PWD)/config-$(KERNEL_VERSION)
        tar -C $(WORK) -xvjf $(WORK)/linux-$(KERNEL_VERSION).tar.bz2
        cd $(WORK) && \
-               patch -p1 -i $(WORK)/Makefile_arm_unaligned.diff
+               patch -p1 -i $(WORK)/Makefile_arm_unaligned.diff && \
+               sed -e 's|`whoami`|devel|' -e 's|`hostname .*`|crux-arm.nu|' -i linux-$(KERNEL_VERSION)/scripts/mkcompile_h
        cp -v $(PWD)/config-$(KERNEL_VERSION) $(WORK)/linux-$(KERNEL_VERSION)/.config
        touch $(WORK)/linux-$(KERNEL_VERSION)