stevleibelt / arch-linux-live-cd-iso-with-zfs

archiso with zfs embedded
GNU General Public License v3.0
57 stars 15 forks source link

Older build files are not overwritten - build does not start. #7

Closed stevleibelt closed 2 years ago

stevleibelt commented 2 years ago

Given is

ls dynamic_data/out/
archlinux-archzfs-linux.iso  archlinux-archzfs-linux.iso.sha512sum

A build is started and this is the full log

:: Starting cleanup build path
:: Older build detected
:: Do you want to move the files somewhere? [y|N] (n means overwriting, n is default)

:: Finished cleanup build path
:: Starting setup environment
   Previous profile data detected.
   >>/home/.../arch-linux-live-cd-iso-with-zfs/dynamic_data/releng<< exists.
   Cleaning up now ...
   Creating >>/home/.../arch-linux-live-cd-iso-with-zfs/dynamic_data<<.
   Copying content off >>/usr/share/archiso/configs/releng<< to >>/home/.../arch-linux-live-cd-iso-with-zfs/dynamic_data<
:: Finished setup environment
:: Starting evaluating environment
   Updating pacman-init.service
:: Finished evaluating environment
:: Starting adding packages and repository
:: Adding repository and package >>archzfs-linux<<.
   Using following path to the archlive >>/home/.../arch-linux-live-cd-iso-with-zfs/dynamic_data/releng<<.
:: Finished adding packages and repository
:: Starting bulding archiso
[mkarchiso] INFO: Validating options...
[mkarchiso] INFO: Done!
mv: 'archlinux-archzfs-linux.iso' and '/home/.../arch-linux-live-cd-iso-with-zfs/dynamic_data/out/archlinux-archzfs-linux

   Iso created in path:
   >>/home/.../arch-linux-live-cd-iso-with-zfs/dynamic_data/out<<
   --------
   Listing directory content, filterd by >>archzfs<<...
-rw-r--r-- 1 root root  256 Mar 24 20:03 archlinux-archzfs-linux.iso.sha512sum
-rwxrw-r-x 1 root root 867M Mar 20 18:52 archlinux-archzfs-linux.iso
   --------
:: Finished bulding archiso
:: Do you want to run the iso for testing? [y|N

Current behavior

Expected behavior

stevleibelt commented 2 years ago

My first thoughts are:

stevleibelt commented 2 years ago

Started adding flags with version 2.3.0.

:: Usage
   ./build.sh [-f|--force] [-h|--help] [-v|--verbose
stevleibelt commented 2 years ago

All fixed and improved with version 2.4.0.