From 3778c1907fb983d116c5b06ee17f3c0368818bc5 Mon Sep 17 00:00:00 2001 From: Jose V Beneyto Date: Mon, 15 Oct 2012 18:42:36 +0000 Subject: [PATCH] Added code to override the user@host string displayed during boot and in /proc/version --- Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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) -- 2.26.2