Commit Graph

138 Commits

Author SHA1 Message Date
Igor Pečovnik
a7e16da2ce
Add Ubuntu Impish (#3006) 2021-07-14 08:45:30 +02:00
Igor Pečovnik
9249d3f954
Add support for desktop board support package (#2972)
* Add support for desktop board support package

Extracting from https://github.com/armbian/build/pull/2776 which can be closed after.
* Desktop BSP creation is working, but need broader testing and some quick how-to
* Create empty files as examples where we can put things.
* Fixing Pinebook desktop bsp creation
* We need to have information about ARCH in the desktop bsp package. This ain't universal.
2021-07-06 00:59:50 +02:00
Igor Pečovnik
1f2e97febf
Remove Ubuntu Groovy from codebase (#2952) 2021-07-03 21:58:08 +02:00
Igor Pečovnik
fcb8b6f195
Code cleaning attempts (#2925)
* Move function run_on_sdcard to more appropriate location

* Focus on bash headers, unify, adjust (c)

* Adjust (c) to range

* Cleanup compile.sh

* Cleaning main

* Build all, main configs

* fine tunning

* Improve readme
2021-06-26 23:36:47 +02:00
Igor Pečovnik
7d330d2e5b
Code cleaning attempts #1 (#2911)
* Remove Docker version check from compile.sh since its deprecated

* Remove meta package creation which was needed for upgrade

* Update in-code documentation

* Bugfix

* Making oneliner

* Remove Groovy debug leftovers

* Add readme to distributions

* Update

* More text adjust

* Add virtual

* add more
2021-06-21 23:03:39 +02:00
Aristo Chen
78894792a5
Update URLs (#2870)
* Update URLs

* Update URLs

* Update URLs
2021-06-10 11:27:51 +02:00
The-going
8f1fb2e2be
Packaging (#2844)
* New build kernel if version ge 5.12

Signed-off-by: The-going <48602507+The-going@users.noreply.github.com>

* Rename packagename for kernel in the armbian style

Signed-off-by: The-going <48602507+The-going@users.noreply.github.com>

* Fix depends pkg for build linux-*

Signed-off-by: The-going <48602507+The-going@users.noreply.github.com>

* Fixed version search by Source field

Signed-off-by: The-going <48602507+The-going@users.noreply.github.com>

* Fix postinst, prerm scripts for headers pkg

Signed-off-by: The-going <48602507+The-going@users.noreply.github.com>
2021-05-22 17:01:29 +02:00
Przemysław Sztoch
486a821a55
VENDOR, rock-pi-n10, RM_LIST for armbian-config/zsh, Static MAC for networkd (#2789)
* VENDOR, rock-pi-n10, RM_LIST for armbian-config/zsh

VENDOR parameter in configuration
zsh is the best of course...
Static MAC for networkd

ROCK Pi N10 (Radxa) - Initial support, knwon bugs:
- Problem with poweroff (kernel panic).
- DeviceTree is not fully verified, I suspect missing and unnecessary
entries.
- No support for NPU
- u-boot without NVME support
- I have doubts if I chose the right preboot loader for RK3399Pro, NPU
  and installed DDR memory.

* New RK3399Pro boot preloaders.

* rootfs checksum, DEBOOTSTRAP_LIST fix, output.log fix

Repaired checksum for rootfs
Added use PACKAGE_LIST_RM to purge DEBOOTSTRAP_LIST
Better logging to output.log
Fix for new host distribution detection (ie Debian Bullseye).
ubootdebs as new cleaning option
2021-05-11 21:50:14 +02:00
Igor Pecovnik
c7f5a1920b Bugfix - moving mpv from CLI BSP package 2021-05-07 19:50:30 +02:00
Igor Pečovnik
780d07ea79
Renaming the BSP package to armbian-bsp (#2779)
* Renaming the BSP package to armbian-bsp

Extracted from https://github.com/armbian/build/pull/2776

* Update naming

* Create meta package for upgrade and remove deprecated mpv related config management

* Probably we want to keep our internal release version in filename
2021-04-18 22:03:53 +02:00
Oleg
e275961be4
fix extlinux.conf for u-boot dtb and add arm32 (#2766) 2021-04-13 10:16:42 +02:00
Przemyslaw Sztoch
738996ea33 Better user path config and support for etworkd
add user path for configuration scan
check for NetworkManager/networkd
support for bullseye

(i.e. path: config/cli and files: packages, packages.remove)
2021-04-09 10:27:52 +02:00
Oleg
71dc41f0ba
add extlinux.conf (#2722)
* add extlinux.conf

* - make sure armbianEnv is not added - we don't need variables for NAME_KERNEL and NAME_INITRD. This is not going to change - also MAIN_CMDLINE could at least be renamed so its clear to belong to EXT configuration. Elsewhere this doesn't apply since we have boot scripts

Co-authored-by: Igor Pecovnik <igor.pecovnik@gmail.com>
2021-03-18 16:57:45 +01:00
Sebastian Fricke
898e25294c
lib: distributions.sh: fix typo (#2696)
s/deamon/daemon/

Signed-off-by: Sebastian Fricke <sebastian.fricke@posteo.net>
2021-03-07 20:02:50 +01:00
Igor Pečovnik
3a74abe43d
Merge desktop branch (#2662)
Co-authored-by: Miouyouyou (Myy) <myy@miouyouyou.fr>
Co-authored-by: Igor Pečovnik <igorpecovnik@users.noreply.github.com>
Co-authored-by: Richard Neese <r.neese@gmail.com>
Co-authored-by: iav <iav@iav.lv>
Co-authored-by: lanefu <lanefu@users.noreply.github.com>
Co-authored-by: Werner <EvilOlaf@users.noreply.github.com>
Co-authored-by: Oleg <balbes-150@yandex.ru>
Co-authored-by: Lane Jennison <lane@lane-fu.com>
Co-authored-by: JMCC <jmcc1@gmx.com>
2021-02-24 18:19:09 +01:00
Igor Pečovnik
315ca731f0
Fix shell selection bug in Bionic version (#2573) 2021-01-22 12:54:39 +01:00
Igor Pečovnik
5f350de697
Clean more Canonical services (#2563) 2021-01-19 23:23:47 +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
21a4b33218 Improve apt-update process when using precached rootfs 2021-01-02 13:40:05 +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
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 Pečovnik
7907a502a3
The directive After=graphical.target needs to be in the [Unit] section instead of the [Service]section. (#2436) 2020-12-10 16:14:23 +01:00
Igor Pečovnik
27f7106667
Clean ubuntu motd stuff (#2406) 2020-12-10 12:03:50 +01:00
Piotr Szczepanik
b8af894293
Fixed update-initramfs optimisation for ubuntu targets (#2348) 2020-11-15 15:45:22 +01:00
Igor Pecovnik
fadcab17a8 Cosmetic bugfix 2020-11-15 13:28:38 +01:00
Igor Pecovnik
cd50da9034 Bugfix: Disable multiple update-initramfs breaks upgrade
Manifests on Focal but not on Buster - comment out until better solution is found
2020-11-15 00:14:18 +01:00
Igor Pečovnik
a78eaa5aaf
Improve creating images from repository (#2340)
* Few cosmetic changes and updated configs
* Improve repository install
* Update configs
* Adjust configs
2020-11-14 19:29:39 +01:00
Igor Pecovnik
37b50f154a Bugfix related to firmware creation 2020-11-12 19:46:47 +01:00
Igor Pečovnik
fc3e56bf7a
Left overs (#2330)
* Cosmetical: exchange mv with rsync

Also make build script output less chatty to console. Show SD and mount size % only.

* Leave output here

* Add delete after option
2020-11-11 19:29:50 +01:00
Igor Pečovnik
694b2313dd
Cosmetical: exchange mv with rsync (#2329)
* Cosmetical: exchange mv with rsync

Also make build script output less chatty to console. Show SD and mount size % only.

* Leave output here
2020-11-11 19:25:51 +01:00
Piotr Szczepanik
961064ed23
Fix disable/enable initramfs-tools calls and package list updates 2020-11-07 15:25:39 +01:00
Piotr Szczepanik
f9642f3882
Disable multiple update-initramfs runs while building image (#2296) 2020-11-06 10:52:53 +01:00
Igor Pecovnik
619966891c Bugfix - don't die in case of Mirror sync in progress? 2020-10-18 21:51:05 +02:00
Igor Pečovnik
448484f6d8
Change Ubuntu Eoan to Ubuntu Groovy and enable it as CSC (#2254)
* Change Ubuntu Eoan to Ubuntu Groovy and enable it as CSC

Tested CLI and desktop image, but needs cache creation and repository before it will be possible to build without error.

* Update Groovy compiler for chroot

* Adjust pkg dependencies for groovy

Sadly htop doesn't build
2020-10-14 22:50:11 +02:00
Igor Pecovnik
01d45bea21 Add another apt update
In case board or family packages are defined having and old index can make troubles / error
2020-09-23 21:50:19 +02:00
iav
04292b06c8
replace apt with apt-get (#2214)
* replace apt with apt-get
APT is not meant to be used in scripts: https://manpages.debian.org/stretch/apt/apt.8.en.html#SCRIPT_USAGE_AND_DIFFERENCES_FROM_OTHER_APT_TOOLS

* Add apt-get to desktop too

Co-authored-by: Igor Pečovnik <igorpecovnik@users.noreply.github.com>
2020-09-22 19:04:10 +02:00
Igor Pecovnik
c4c5c342b3 Tiny Shellcheck bugfix 2020-08-20 06:49:24 +02:00
Igor Pecovnik
3a5b572c0f Improve multithreaded building, few changes for BUILD_ALL and removing debug code from MOTD 2020-08-18 22:31:07 +02:00
Igor Pečovnik
6c26c35344
Add initial support for Odroid N2+ (#2130)
* Add initial support for Odroid N2+
* Update C4 config and test booting
* Updates to C4, N2, N2+
- merge C4 and N2 legacy under meson64, same u-boot
- upgrade legacy kernel to meed DTB from mainline
- merge N2 and N2+, add a hack to display + in motd when N2+ is detected
- shortly spin N2 fan at startup
- merged N2 mainline and legacy boot script
- add upstream patches
* One of the regulators were breaking booting of Odroid N2
Co-authored-by: Werner <EvilOlaf@users.noreply.github.com>
2020-08-08 17:20:00 +02:00
Igor Pečovnik
0c46b4c1d2
Add support for packages remove per board or family (#2128) 2020-08-04 16:16:02 +02:00
Igor Pecovnik
74483bc629 Improve / fix building images directly from repository 2020-08-03 20:25:34 +02:00
Igor Pecovnik
ad34b54d08 First login fine tunning 2020-08-02 00:53:15 +02:00
Igor Pecovnik
c909864922 Improve first login
Automate setting up console keyboard based on a user country code.
2020-08-01 09:23:30 +02:00
Igor Pečovnik
a2d756dace
Add support for two dedicated package lists for BOARD and FAMILY (#2097)
* Add support for two dedicated package lists for BOARD and FAMILY

- PACKAGE_LIST_BOARD
- PACKAGE_LIST_FAMILY

* Add some info about recently added features to the README.md
2020-07-17 18:29:24 +02:00
Igor Pečovnik
6ce3396d2b
Root auto login at first boot, determine TZ and locales from geo location (#2081)
* enable root auto login on first boot, automatically determine timezone from geolocation
* Improve tzdata and locales detection
* Add timeouts for Curl and support for selecting more locales per location.
* Disable NetworkManager-wait-online.service
https://askubuntu.com/questions/1018576/what-does-networkmanager-wait-online-service-do
* Improve overall UX when creating new username and changing root password
- check password quality and reject if not good enough. Not very heavy.
- shorter way of adding new username
* Resolve killing inactive consoles, remove FAQ silently since we open more consoles
2020-07-17 10:38:27 +02:00
Igor Pecovnik
9020803f1d Update kernel configs due to logo support, adjust patches
Now always create logo, but enable only on request, where defined (Pinebook, Teres, ...)
2020-06-28 17:13:32 +02:00
Igor Pečovnik
7d758026b5
Enable kernel boot splash, env and bootscript files cleanup, upstream patches (#2065)
* Initial commit for kernel boot splash
* Add startup files to disable bootlog when system is up / down
* Update logo, remove deprecated one
* Introduce new u-boot variable bootlogo
* Adjust kernel config
* Make logo possible on Odroid XU4
- add legacy and current upstream patches
- delete xu4 environment since its not used
* Cleanup C2,C4, both tested, logo works on mainline,
- adding legacy upstream patches for c4
* Enable bootlogo by default on Odroid N2
* Enable logo on RK3399 desktop images
* Cleanup the rest of the environment files
* Add initrd hook that copy splash file to initrd.
* Missing logo bits for one boot scripts
* Enable boot logo on Pinebook A64
* Enable bootlogo on Teres
* Update config
2020-06-27 19:14:38 +02:00
Manuel Rüger
b3c75bdfb8
Shellcheck fixes2 (#2049)
* distributions.sh: Lint via shellcheck

* chroot-buildpackages.sh: Lint via shellcheck

* build-all-ng.sh: Lint via shellcheck
2020-06-23 10:15:13 -04:00
Igor Pečovnik
bfacc6cd89
Install SELinux related userland packages (#2014)
* Install SELinux related userland packages

But leave it disabled by default. Todo: add toggle to armbian-config
2020-06-17 19:43:04 +02:00