tools-hardened: fix stage names in template

This commit is contained in:
Anthony G. Basile 2016-03-03 21:38:42 -05:00
parent e9208fa931
commit ed422ec6fb
2 changed files with 5 additions and 4 deletions

5
tools-hardened/run-systemd.sh Normal file → Executable file
View file

@ -13,11 +13,12 @@ prepare_confs() {
local pstage=stage${p}
local parch="${arch}"
[[ "${arch}" == "i686" ]] && parch="x86"
[[ "${arch}" == "i686" ]] && parch="x86"
cat stage-all.conf.template | \
sed -e "s:\(^version_stamp.*$\):\1-${mydate}:" \
-e "s:STAGE:${cstage}:g" \
-e "s:CSTAGE:${cstage}:g" \
-e "s:PSTAGE:${pstage}:g" \
-e "s:SARCH:${arch}:g" \
-e "s:PARCH:${parch}:g" \
> stage${s}-${arch}-systemd.conf

View file

@ -1,7 +1,7 @@
subarch: SARCH
target: STAGE
target: CSTAGE
version_stamp: systemd
rel_type: systemd/SARCH
profile: default/linux/PARCH/13.0/systemd
snapshot: current
source_subpath: systemd/SARCH/STAGE-SARCH-systemd
source_subpath: systemd/SARCH/PSTAGE-SARCH-systemd