cdrom: Update /etc/system-release when needed.

This commit is contained in:
Michael Tremer
2013-09-30 21:28:52 +02:00
parent d02853e73c
commit 42e4fa805e
2 changed files with 5 additions and 0 deletions

View File

@@ -52,6 +52,10 @@ md5 :
###############################################################################
$(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
# Update /etc/system-release, because the string might have changed
# since stage2 has been executed..
echo "$(SYSTEM_RELEASE)" > /etc/system-release
rm -rf /install/cdrom /tmp/*
mkdir -p /install/cdrom/doc

View File

@@ -522,6 +522,7 @@ installmake() {
TERM=$TERM PS1='\u:\w\$ ' \
PATH=/tools/ccache/bin:/bin:/usr/bin:/sbin:/usr/sbin \
VERSION=$VERSION \
SYSTEM_RELEASE="${SYSTEM_RELEASE}" \
CONFIG_ROOT=$CONFIG_ROOT \
NAME="$NAME" SNAME="$SNAME" SLOGAN="$SLOGAN" \
CFLAGS="-Os" CXXFLAGS="-Os" \