From ecfd82038b8982e75348519b2d9d403675bcde3e Mon Sep 17 00:00:00 2001 From: CleverMouse Date: Fri, 4 Feb 2011 13:15:05 +0000 Subject: [PATCH] Makefile: add autobuild string to the boot screen git-svn-id: svn://kolibrios.org@1840 a494cfbc-eb01-0410-851d-a64ba20cac60 --- data/eng/Makefile | 2 ++ data/rus/Makefile | 2 ++ 2 files changed, 4 insertions(+) diff --git a/data/eng/Makefile b/data/eng/Makefile index df23835865..2a837d3e3f 100644 --- a/data/eng/Makefile +++ b/data/eng/Makefile @@ -309,6 +309,8 @@ $(BUILD_DIR)/kolibri.img: $(BUILD_DIR)/.dir \ # SYSXTREE # 3d/CUBETEXT # 3d/LOGIO.BMP + str=`date -u +"[auto-build %d %b %Y %R from r$(REV)]"`; \ + echo -n $$str|dd of=kernel.mnt bs=1 seek=`expr 279 - length "$$str"` conv=notrunc 2>/dev/null dd if=/dev/zero of=$(BUILD_DIR)/kolibri.img count=2880 bs=512 2>&1 mformat -f 1440 -i $(BUILD_DIR)/kolibri.img :: dd if=$(BUILD_DIR)/boot_fat12.bin of=$(BUILD_DIR)/kolibri.img count=1 bs=512 conv=notrunc 2>&1 diff --git a/data/rus/Makefile b/data/rus/Makefile index 6301334f22..98c6fff41e 100644 --- a/data/rus/Makefile +++ b/data/rus/Makefile @@ -312,6 +312,8 @@ $(BUILD_DIR)/kolibri.img: $(BUILD_DIR)/.dir \ # SYSXTREE # 3d/CUBETEXT # 3d/LOGIO.BMP + str=`LANG=ru_RU.utf8 date -u +"[автосборка %d %b %Y %R из r$(REV)]"|iconv -f utf8 -t cp866`; \ + echo -n $$str|dd of=kernel.mnt bs=1 seek=`expr 279 - length "$$str"` conv=notrunc 2>/dev/null dd if=/dev/zero of=$(BUILD_DIR)/kolibri.img count=2880 bs=512 2>&1 mformat -f 1440 -i $(BUILD_DIR)/kolibri.img :: dd if=$(BUILD_DIR)/boot_fat12.bin of=$(BUILD_DIR)/kolibri.img count=1 bs=512 conv=notrunc 2>&1