Makefile: add autobuild string to the boot screen

git-svn-id: svn://kolibrios.org@1840 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
CleverMouse 2011-02-04 13:15:05 +00:00
parent 4691ce7d78
commit ecfd82038b
2 changed files with 4 additions and 0 deletions

View File

@ -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

View File

@ -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