Skip to content

Commit

Permalink
Merge pull request #229 from grml/mika/sources-cleanup
Browse files Browse the repository at this point in the history
Fix logic around grml_sources handling no longer being bind-mounted
  • Loading branch information
mika authored Dec 19, 2024
2 parents 8520a72 + ea0c92e commit d85116e
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions grml-live
Original file line number Diff line number Diff line change
Expand Up @@ -801,7 +801,8 @@ else
mount --bind "${MIRROR_DIRECTORY}" "${CHROOT_OUTPUT}/${MIRROR_DIRECTORY}"
fi

mkdir -p "${CHROOT_OUTPUT}/grml-live/grml_sources/"
mkdir -p "${OUTPUT}"/grml_sources "${CHROOT_OUTPUT}"/grml-live/
mv "${OUTPUT}"/grml_sources "${CHROOT_OUTPUT}"/grml-live/

log "Executed FAI command line:"
log "BUILD_ONLY=$BUILD_ONLY BOOTSTRAP_ONLY=$BOOTSTRAP_ONLY GRML_LIVE_CONFIG=$CONFIGDUMP WAYBACK_DATE=$WAYBACK_DATE fai $VERBOSE -C $GRML_FAI_CONFIG -s file:///$GRML_FAI_CONFIG/config -c$CLASSES -u $HOSTNAME $FAI_ACTION $CHROOT_OUTPUT $FAI_ARGS"
Expand All @@ -818,8 +819,8 @@ else
bailout 1
fi

mv "${CHROOT_OUTPUT}/grml-live/grml_sources/" "${OUTPUT}/"
rmdir "${CHROOT_OUTPUT}/grml-live"
mv "${CHROOT_OUTPUT}"/grml-live/grml_sources/ "${OUTPUT}"
rmdir "${CHROOT_OUTPUT}"/grml-live

# provide inform fai about the ISO we build, needs to be provided
# *after* FAI stage, otherwise FAI skips the debootstrap stage if
Expand Down

0 comments on commit d85116e

Please sign in to comment.