Skip to content
This repository has been archived by the owner on Dec 4, 2020. It is now read-only.

Update release-trueos.sh #219

Merged
merged 1 commit into from Nov 19, 2018
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
5 changes: 5 additions & 0 deletions release/release-trueos.sh
Expand Up @@ -732,6 +732,11 @@ EOF

prune_iso()
{
# Built-in pruning methods
rm ${OBJDIR}/disc1/*.csum #checksums for base packages (~50MB saved)
rm -rf ${OBJDIR}/disc1/usr/local_source #Copy of the ports tree (~336MB saved)

# User-specified pruning
# Check if we have paths to prune from the ISO before build
for c in $(jq -r '."iso"."prune" | keys[]' ${TRUEOS_MANIFEST} 2>/dev/null | tr -s '\n' ' ')
do
Expand Down