diff options
| author | Simon Rettberg | 2013-08-13 23:34:13 +0200 |
|---|---|---|
| committer | Simon Rettberg | 2013-08-13 23:34:13 +0200 |
| commit | 7181018b457cef9fd0780042ea5a5020f132c20d (patch) | |
| tree | 8fc350afffa4cfbad35a360190a60dde1966ccbb /remote | |
| parent | [rootfs-stage32] Properly generate and update /etc/issue with version informa... (diff) | |
| download | tm-scripts-7181018b457cef9fd0780042ea5a5020f132c20d.tar.gz tm-scripts-7181018b457cef9fd0780042ea5a5020f132c20d.tar.xz tm-scripts-7181018b457cef9fd0780042ea5a5020f132c20d.zip | |
fix for last commit
Diffstat (limited to 'remote')
| -rw-r--r-- | remote/rootfs/rootfs-stage32/rootfs-stage32.build | 6 | ||||
| -rw-r--r-- | remote/rootfs/rootfs-stage32/templates/issue.template | 2 |
2 files changed, 4 insertions, 4 deletions
diff --git a/remote/rootfs/rootfs-stage32/rootfs-stage32.build b/remote/rootfs/rootfs-stage32/rootfs-stage32.build index 66805660..8ed9951e 100644 --- a/remote/rootfs/rootfs-stage32/rootfs-stage32.build +++ b/remote/rootfs/rootfs-stage32/rootfs-stage32.build @@ -131,9 +131,9 @@ post_copy() { local DIST=$(lsb_release -sd) local GITC=$(git rev-parse --short HEAD) local DATE=$(date "+%Y-%m-%d") - local VERSION=$(echo "bwLehrpool/$DIST built $DATE (git: $GITC)" | escape_replace) - mkdir "$TARGET_BUILD_DIR/opt/openslx/etc" - sed "s/%version%/$VERSION/g" templates/issue.template > "$TARGET_BUILD_DIR/opt/openslx/etc/issue.template" || perror "Could not create issue template" + local VERSION=$(echo "bwLehrpool/$DIST $DATE/$GITC" | escape_replace) + mkdir -p "$TARGET_BUILD_DIR/opt/openslx/etc" + sed "s/%version%/$VERSION/g" "$MODULE_DIR/templates/issue.template" > "$TARGET_BUILD_DIR/opt/openslx/etc/issue.template" || perror "Could not create issue template" } diff --git a/remote/rootfs/rootfs-stage32/templates/issue.template b/remote/rootfs/rootfs-stage32/templates/issue.template index e15c19d5..db29bb54 100644 --- a/remote/rootfs/rootfs-stage32/templates/issue.template +++ b/remote/rootfs/rootfs-stage32/templates/issue.template @@ -6,4 +6,4 @@ | |_| | | | |___| | | | ____| | |___ / / _____/|__| |______|__| |__| |_______|______|__| |__| - NG - %version% (c) <OpenSLX.ORG> + %version% (c) <OpenSLX.ORG> |
