add release.json in release dir and tarball
This commit is contained in:
parent
46ab1c4f7f
commit
e40e94bf05
|
@ -835,7 +835,7 @@ done
|
||||||
|
|
||||||
chown -R "$USER" "$OUTDIR"
|
chown -R "$USER" "$OUTDIR"
|
||||||
|
|
||||||
cat > "${BASEOUTDIR}/${NAME}-latest.json" <<EOF
|
cat > "${OUTDIR}/release.json" <<EOF
|
||||||
{
|
{
|
||||||
"roothash": "$ROOT_HASH",
|
"roothash": "$ROOT_HASH",
|
||||||
"rootsize": "$ROOT_SIZE",
|
"rootsize": "$ROOT_SIZE",
|
||||||
|
@ -844,5 +844,6 @@ cat > "${BASEOUTDIR}/${NAME}-latest.json" <<EOF
|
||||||
}
|
}
|
||||||
EOF
|
EOF
|
||||||
|
|
||||||
chown "$USER" "${BASEOUTDIR}/${NAME}-latest.json"
|
chown "$USER" "${OUTDIR}/release.json"
|
||||||
|
cp -a "${OUTDIR}/release.json" "${BASEOUTDIR}/${NAME}-latest.json"
|
||||||
setenforce $OLD_SELINUX
|
setenforce $OLD_SELINUX
|
||||||
|
|
Loading…
Reference in a new issue