From: Jose V Beneyto Date: Mon, 15 Oct 2012 18:42:36 +0000 (+0000) Subject: Added code to override the user@host string displayed during boot and in /proc/version X-Git-Url: http://gitweb/?a=commitdiff_plain;h=3778c1907fb983d116c5b06ee17f3c0368818bc5;p=kernel%2Fefikamx.git Added code to override the user@host string displayed during boot and in /proc/version --- diff --git a/Makefile b/Makefile index 9684757..0edb4c8 100644 --- 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)