From 02d6f700ac1c272f8f485ab3620fff96c6a5475c Mon Sep 17 00:00:00 2001 From: Jose V Beneyto Date: Mon, 15 Oct 2012 18:42:36 +0000 Subject: [PATCH] Imported manually code to override the user@host string displayed during boot and in /proc/version --- Makefile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Makefile b/Makefile index 7ba9ee6..18539ac 100644 --- a/Makefile +++ b/Makefile @@ -23,6 +23,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) && \ + 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