Skip to content

Commit

Permalink
✨ Support /export folder
Browse files Browse the repository at this point in the history
Anything created by the build scripts inside /export will
be copied to /export in the workspace folder.
  • Loading branch information
foosel committed Mar 14, 2023
1 parent 5058cc1 commit d09e015
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions src/customize
Original file line number Diff line number Diff line change
Expand Up @@ -150,6 +150,14 @@ pushd $EDITBASE_WORKSPACE
restoreLd
fi
popd

# if there are any files to export, do that now and clean up the export folder
if [ -d "$EDITBASE_MOUNT_PATH/export" ]; then
pushd $EDITBASE_WORKSPACE
copy_files "$EDITBASE_MOUNT_PATH/export"
popd
rm -rf "$EDITBASE_MOUNT_PATH/export"
fi

# unmount first boot, then root partition
unmount_image $EDITBASE_MOUNT_PATH
Expand Down

0 comments on commit d09e015

Please sign in to comment.