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
authorVictor Martinez <pitillo@ono.com>
Mon, 15 Oct 2012 18:52:07 +0000 (18:52 +0000)
committerVictor Martinez <pitillo@ono.com>
Mon, 15 Oct 2012 18:52:07 +0000 (18:52 +0000)
Makefile

index 556593c29278afd41b90aa826c2d6540e2b02b75..78bf31d866e0d32fb3d80be390aa2e3b277fd9ae 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -23,6 +23,7 @@ $(WORK)/linux-$(KERNEL_VERSION).tar.bz2:
 
 $(WORK)/linux-$(KERNEL_VERSION): $(WORK)/linux-$(KERNEL_VERSION).tar.bz2 config-$(KERNEL_VERSION)
        tar -C $(WORK) -xvjf $(WORK)/linux-$(KERNEL_VERSION).tar.bz2
+       sed -e 's|`whoami`|devel|' -e 's|`hostname .*`|crux-arm.nu|' -i $(WORK)/linux-$(KERNEL_VERSION)/scripts/mkcompile_h
        cd $(WORK)/linux-$(KERNEL_VERSION) && \
                make mrproper && \
                cp -v $(TOPDIR)/config-$(KERNEL_VERSION) .config && \