Commit graph

922 commits

Author SHA1 Message Date
Igor Pecovnik
9799982ab7 Merge branch 'master' into desktop 2021-01-23 09:16:32 +01:00
Igor Pečovnik
315ca731f0
Fix shell selection bug in Bionic version (#2573) 2021-01-22 12:54:39 +01:00
Miouyouyou
712807108c
[DRAFT] Quick cleanups on the Desktop branch (#2551)
* 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>
2021-01-20 14:05:31 +01:00
Igor Pecovnik
f8120993c2 Merge branch 'master' into desktop 2021-01-20 12:26:15 +01:00
Igor Pečovnik
d95a4f7bf6
Enable AUFS back - its supported again (#2562)
* Enable AUFS back - its supported again

Tested building

* Update kernel configs for AUFS
2021-01-19 23:24:33 +01:00
Igor Pečovnik
5f350de697
Clean more Canonical services (#2563) 2021-01-19 23:23:47 +01:00
Igor Pecovnik
fca5451946 Bugfix: Only first app group was selected 2021-01-19 21:23:29 +01:00
Igor Pečovnik
dedf5b3bfc
Proper BASH / ZSH changing. (#2559)
Not all variants have BASH installed on the same location. Now scripts checks where it is.
2021-01-19 14:33:21 +01:00
Igor Pecovnik
8aba210e8b Remove Hirsute deepin since its not working and add few more verbosity to errors 2021-01-18 14:49:36 +01:00
Igor Pecovnik
c0804987c5 Merge branch 'master' into desktop 2021-01-15 01:17:43 +01:00
Igor Pecovnik
dc544f4acd ZSH - disable auto update since we provide update via package 2021-01-10 16:04:40 +01:00
Igor Pecovnik
827c8bbd55 Bugfix - filelocking was set wrong 2021-01-08 14:52:07 +01:00
Igor Pecovnik
d513c619d5 Add few more variables to clearing 2021-01-07 18:13:26 +01:00
Igor Pecovnik
a4ff9301dd Apply several fixes for build all images 2021-01-05 18:51:05 +01:00
Igor Pecovnik
af7e914eb4 Merge branch 'master' into desktop 2021-01-05 00:17:42 +01:00
Igor Pecovnik
79b790cf72 Revert "Improve apt-update process when using precached rootfs"
This reverts commit 21a4b33218.
2021-01-05 00:17:17 +01:00
Igor Pecovnik
d27ed2dd20 Make mount directory truly unique, bump with lz4 compression for cache creation 2021-01-04 20:49:41 +01:00
Oleg
a1e96e68d8 add station legacy (#2521) 2021-01-04 11:51:43 +01:00
Oleg
2fe4d7039d
add station legacy (#2521) 2021-01-04 01:01:16 +01:00
Igor Pečovnik
30558096a9
Directing debug to logs only (#2527)
* 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>
2021-01-04 00:56:59 +01:00
Igor Pečovnik
f7401ffb30
This function can probably be replaced with previous since we removed DESKTOP_APT_FLAGS_SELECTED (#2528) 2021-01-04 00:46:10 +01:00
Igor Pecovnik
12c38ade32 Adjust packages uninstall display, defaulting to logs and only showing which packages are removed 2021-01-03 14:19:17 +01:00
Igor Pecovnik
2f72461479 CLI images had wrong image name 2021-01-03 12:51:18 +01:00
Igor Pecovnik
a27cc56a13 Merge branch 'master' into desktop 2021-01-03 09:37:38 +01:00
Igor Pecovnik
21a4b33218 Improve apt-update process when using precached rootfs 2021-01-02 13:40:05 +01:00
Igor Pecovnik
64a7867a65 Attach wireless driver to last known commit id
It breaks on 5.10.y
2020-12-31 01:40:53 +01:00
Igor Pecovnik
1fb4749d9b Merge branch 'master' into desktop 2020-12-28 22:32:08 +01:00
Igor Pecovnik
c7cc1825cd Update wifi related patches and (temprally) disable 8188EU since it breaks K5.10.y 2020-12-28 21:52:45 +01:00
Igor Pecovnik
cb5175ab36 Remove deprecated patch 2020-12-28 10:32:42 +01:00
Igor Pecovnik
b3dc314f09 Merge branch 'master' into desktop 2020-12-27 01:55:58 +01:00
Igor Pecovnik
928a8f25b9 Backend - directory created too deep 2020-12-24 11:51:53 +01:00
Igor Pecovnik
afbb7e4c17 Merge branch 'master' into desktop 2020-12-23 22:34:58 +01:00
Igor Pecovnik
fdd305e52f Several backend fixes and improvemetens
Affected:

- repository old packages purging
- multiple image making
2020-12-23 18:19:30 +01:00
Igor Pecovnik
2bd07d5e9f Merge branch 'master' into desktop 2020-12-22 21:11:44 +01:00
Igor Pečovnik
98642b8581
Set image compression levels to maximum (#2491)
* 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
2020-12-22 14:41:51 +01:00
Igor Pecovnik
818641e2e6 Merge branch 'master' into desktop 2020-12-21 11:21:16 +01:00
Igor Pečovnik
a4f315c72d
Add support for ZSH / TMUX / oh-my-zsh (#2478)
* 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
2020-12-21 00:44:22 +01:00
jmue
2152a4eb5a
fix /etc/hosts for full qualified hostname (#2482)
Signed-off-by: Jens Mueller <tschenser@gmx.de>
2020-12-20 23:28:38 +01:00
lanefu
afa574f58e
fix desktop repeat build options (#2487)
* add needed mate packages

* fix repeat build options output for APPGROUPS
2020-12-20 19:39:51 +01:00
Piotr Szczepanik
08396474b2
Removed the graphical.target dependency from getty services (#2481)
Reverts the effects of #2436 which effectively disabled serial console
2020-12-19 19:25:14 +01:00
Igor Pecovnik
583c8ddf6e Revert "Revert "Fix moving 'armbian-config_*. deb' and clearing temporary folders (#2455)""
This reverts commit 7a7530849d.
2020-12-19 15:08:55 +01:00
Igor Pecovnik
7a7530849d Revert "Fix moving 'armbian-config_*. deb' and clearing temporary folders (#2455)"
This reverts commit f8cd769b46.
2020-12-16 11:00:14 +01:00
The-going
f8cd769b46
Fix moving 'armbian-config_*. deb' and clearing temporary folders (#2455)
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!
2020-12-15 22:24:47 +01:00
Igor Pecovnik
a262cc5b13 Merge branch 'master' into desktop 2020-12-15 11:56:27 +01:00
Igor Pecovnik
11bc0ddf85 Revert "Disabling upgrade for USB network drivers for RTL8152/RTL8153"
This reverts commit 6bb68d7ff7.
2020-12-15 08:42:45 +01:00
Igor Pecovnik
2f92c4f06d Bugfix: we don't need to check distribution status when compiling kernel
@Miouyouyou
2020-12-14 23:18:37 +01:00
Igor Pecovnik
0ebb91f346 Redefine unique mounting directory 2020-12-14 23:18:20 +01:00
Miouyouyou (Myy)
5c5ead42eb Fixing a few issues with putting the Desktop build inside IF
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>
2020-12-13 18:32:01 +01:00
Richard Neese
e7618dd278
added lines to add desktop to /etc/armbian-release (#2448) 2020-12-13 18:19:48 +01:00
Igor Pecovnik
db4b2e6c1e Merge branch 'master' into desktop 2020-12-11 00:32:05 +01:00