diff options
| author | R0flcopt3r <12752060+R0flcopt3r@users.noreply.github.com> | 2025-03-17 01:15:55 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-03-16 21:15:55 -0300 |
| commit | 2f0632547afb6fb48442820ed755b7a1f64e5d40 (patch) | |
| tree | c44ae22d2a645532d49579f4893edb636074fba7 /.gitignore | |
| parent | 007130fe49f5497f299765b0e479eb1ee1d27435 (diff) | |
| download | AeroCore-OS-2f0632547afb6fb48442820ed755b7a1f64e5d40.tar.gz AeroCore-OS-2f0632547afb6fb48442820ed755b7a1f64e5d40.zip | |
feat: build in tempdir and move files on success (#82)
* feat: build in tempdir and move files on success
Before it would delete your outputs before starting the build. That
means miss-typing the command for example could lead to losing data.
This also creates separate folders for each type to avoid collision.
* fix: tempdir naming
this follows the convention set in the `_rootful_load_image` target.
* fix: delete output folder in clean target
* fix: move contents of temp build directory
This ensures a flatter folder structure, bib allready seem to ensure
there aren't any file name collisions.
output folder would look like this after building a raw and qcow2.
output
├── image
│ └── disk.raw
├── manifest-qcow2.json
├── manifest-raw.json
└── qcow2
└── disk.qcow2
* fix: overwrite previous output directory
From conversations in https://github.com/ublue-os/image-template/pull/82
this is the wanted behaviour for this project.
* revert: overwrite previous output directory
This reverts commit 75448d72fa624cea01524d5651c926ae772460bf.
* chore(gitignore): ensure build directories are not showing up on diffs
---------
Co-authored-by: Tulip Blossom <tulilirockz@proton.me>
Diffstat (limited to '.gitignore')
| -rw-r--r-- | .gitignore | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -1,3 +1,4 @@ cosign.key _build_* -output
\ No newline at end of file +output +_build-*/** |
