diff options
author | Matthijs Kooijman <matthijs@stdin.nl> | 2020-11-24 12:16:16 +0100 |
---|---|---|
committer | Matthijs Kooijman <matthijs@stdin.nl> | 2020-11-24 12:24:14 +0100 |
commit | e772dfd6d2849892ec03f611f621336676cf8b2b (patch) | |
tree | 063af91a791e2f14aeabfc796d04ff5cbcc3ba12 /manpages | |
parent | c4b239caf51b39ff21b69de1a81f79732594a2a3 (diff) | |
download | vyos-live-build-e772dfd6d2849892ec03f611f621336676cf8b2b.tar.gz vyos-live-build-e772dfd6d2849892ec03f611f621336676cf8b2b.zip |
binary_iso: Execute mkdir binary/.disk before writing to it
Before commit 9f3e5fe8d (Fix the way the .disk/mkisofs file is created)
all these commands (`mkdir`, write to `binary/.disk/mkisofs` and
`xorriso`) were in the same `binary.sh` script. Since that commit, the
write was extracted, to prevent issues with quoting, but the related
mkdir was left in `binary.sh`. This means that the write is now executed
first, and the `mkdir` only afterwards, making the `mkdir` quite pointless.
In practice, this did not break becaue binary_disk also does the same
`mkdir` and runs before `binary_iso`, but if one runs commands manually
and skips `binary_iso`, then this does break.
Even though this is not really a supported usecase, just move the mkdir
outside of `binary.sh`, so it runs *before* the write again as intended.
Diffstat (limited to 'manpages')
0 files changed, 0 insertions, 0 deletions