* Dockerfile: Fix uuidgen not found during build
By adding uuid-runtime to the list of packages to install.
Signed-off-by: Miouyouyou (Myy) <myy@miouyouyou.fr>
* Refactor: Starting to remove duplicated code for list cleanup
That way we can use ONE function that actually works for
cleaning lists.
This list cleanup function lets people format their packages
lists like they want (spaces, tabs, carriage returns), making
them easier to maintain.
Signed-off-by: Miouyouyou (Myy) <myy@miouyouyou.fr>
* Refactor: A bit more cleanup
Now, the code should start to be "readable" in configuration.sh,
while providing the abilities to setup packages files with tabs,
spaces, carriages returns and anything that can be recognized as
a "space" character.
Signed-off-by: Miouyouyou (Myy) <myy@miouyouyou.fr>
* configuration: coherent board subdirs paths for CLI and Deboostrap
So now we have :
* debootstrap
* debootstrap/custom/boards/${BOARD}
* debootstrap/config_${CONFIG_SELECTED}
* debootstrap/config_${CONFIG_SELECTED}/custom/boards/${BOARD}
* main
* main/custom/boards/${BOARD}
* main/config_${SELECTED_CONFIGURATION}
* main/config_${SELECTED_CONFIGURATION}/custom/boards/${BOARD}
Which is coherent with how board specific subdirs work with
Desktop environments and appgroups.
Signed-off-by: Miouyouyou (Myy) <myy@miouyouyou.fr>
* configuration: Fixed Debootstrap packages concat and PACKAGE_LIST_RM
The aggregation of Debootstrap packages list should not glue packages
names together now.
Also the PACKAGE_LIST_RM content will be added to the packages.remove
files content, instead of being overwritten by them.
Signed-off-by: Miouyouyou (Myy) <myy@miouyouyou.fr>
* Directing debug to logs only
* attach OPi0-2 to current
since dev was shifted to current
* Enabling proper functions back, cleanup
* Don't show file not found error when we have no desktop config per release
We don't have it (anymore) for Xenial
* Hide one more to logs
Co-authored-by: Werner <EvilOlaf@users.noreply.github.com>
* Set image compression levels to maximum
This feature is used mainly by us or other distributors. An internal function. Compression time and CPU usage for this process is significantly increased but the size of the daily batch was decreased from 80Gb -> 50Gb. Mitigate upload speed bottleneck.
* Small improvement for internal build process
* Typo
* Add support for ZSH / TMUX / oh-my-zsh
* Selecting default shell at 1st run
* Install ZSH by default except on minimal image
* Lets rather create armbian-zsh package
* - fix remaining ZSH problems
- add systemd timer to remove default desktop autologin feature
- change DESKTOP_AUTOLOGIN to disabled by default
* Few small improvements
* Oneliner for revering all users back to BASH if package is uninstalled
* Properly escape variables
* Fixing chmod
* More cryptic awk magic to fix permissions for all normal users that are getting zsh magic
Try to create bootloader and kernel packages several times during
one VM session and you will see in /tmp/ many temporary folders like:
tmp.6D2bjgqMQ9
tmp.7Uj9BtIXPy
tmp.f3a2tmt7Cu
......
Some folders contain armbian-config packages
Temporary folders should be deleted!
The issue was that some variables were done defined
correctly if the first IF block was skipped, due to
defining settings directly through variables.
Also made sure to only cover some parts when desktop
build is enabled.
Some factorization is required, though.
Signed-off-by: Miouyouyou (Myy) <myy@miouyouyou.fr>