CRUX-ARM : Home

Home :: Documentation :: Download :: Development :: Community :: Ports :: Packages :: Bugs :: Links :: About :: Donors
Fixed code to override the user@host string displayed during boot and in /proc/version
authorVictor Martinez <pitillo@ono.com>
Fri, 19 Oct 2012 15:09:45 +0000 (15:09 +0000)
committerVictor Martinez <pitillo@ono.com>
Fri, 19 Oct 2012 15:09:55 +0000 (15:09 +0000)
Makefile

index 4a0e5d6dc842691df3ef9f1133af69ddb1c27898..579e36d0eed1aaa261e60dafa3c079e107a87454 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -23,7 +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
+       sed -e 's|LINUX_COMPILE_BY=.*|LINUX_COMPILE_BY=devel|g' -e 's|`hostname`|crux-arm.nu|g' -i $(WORK)/linux-$(KERNEL_VERSION)/scripts/mkcompile_h
        cd $(WORK)/linux-$(KERNEL_VERSION) && \
                make mrproper && \
                cp -v $(PWD)/config-$(KERNEL_VERSION) .config && \