Commit Graph

82 Commits

Author SHA1 Message Date
Manuel Rüger
752f4ddc7e
lib/build-all-ng.sh: Fix mistakes with shellcheck linting (#2052)
* lib/build-all-ng.sh: Fix mistakes with shellcheck linting

* Update build-all-ng.sh

Co-authored-by: Igor Pečovnik <igorpecovnik@users.noreply.github.com>
2020-06-23 20:04:30 +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 Pecovnik
355a306301
[Backend] Few improvements to the build-all
Signed-off-by: Igor Pecovnik <igor.pecovnik@gmail.com>
2020-06-20 20:49:03 +02:00
Igor Pecovnik
b9730fe0e2
Small fixes
Signed-off-by: Igor Pecovnik <igor.pecovnik@gmail.com>
2020-06-19 17:32:43 +02:00
Igor Pecovnik
4762ec2302
Add some delay to not kill build server
Signed-off-by: Igor Pecovnik <igor.pecovnik@gmail.com>
2020-06-18 21:42:55 +02:00
Igor Pečovnik
213a5a6855
Enabling IGNORE_UPDATES back (#2036) 2020-06-18 20:21:00 +02:00
Igor Pecovnik
273fb7dea4
Automation related bugfix
Signed-off-by: Igor Pecovnik <igor.pecovnik@gmail.com>
2020-06-18 17:26:15 +02:00
Igor Pecovnik
dc478af1cb
Bugfix when making all kernels, also enable building of sunxi-legacy
Signed-off-by: Igor Pecovnik <igor.pecovnik@gmail.com>
2020-06-18 15:49:27 +02:00
Igor Pecovnik
d9770e2a86
[CI actions] Also watch kernel changes in kernel configuration 2020-06-17 13:36:48 +00:00
Igor Pečovnik
fda0e22951
Improve all kernel building (#2017)
* Improve all kernel building

Store hashes and rebuild only changed kernels. TBD: support for patch directory not fully implemented yet

Signed-off-by: Igor Pecovnik <igor.pecovnik@gmail.com>

* Add support for patch directory checking

Signed-off-by: Igor Pecovnik <igor.pecovnik@gmail.com>

* Update lib/build-all-ng.sh

Co-authored-by: Manuel Rüger <manuel@rueg.eu>

* Update lib/build-all-ng.sh

Co-authored-by: Manuel Rüger <manuel@rueg.eu>

* Update lib/compilation.sh

Co-authored-by: Manuel Rüger <manuel@rueg.eu>

* Update lib/compilation.sh

Co-authored-by: Manuel Rüger <manuel@rueg.eu>

* Update build-all-ng.sh

* Disable u-boot hashing for now

* remove banana r2

breaks compilation ... no time for inspection ATM

* typo

* Change s5p6818 to COMMIT instead of TAG

TAG points to a different HASH and its not posible to resolve hash without cloning. This can be addressed later, but now commit HASH will do.

Signed-off-by: Igor Pecovnik <igor.pecovnik@gmail.com>

* Bumping to new version

* Bumping to new version

* Bump

Signed-off-by: Igor Pecovnik <igor.pecovnik@gmail.com>

* few changes

Signed-off-by: Igor Pecovnik <igor.pecovnik@gmail.com>

* Test

* Bumping to new version

* Bumping to new version

BOARD
Cubox i2eX/i4

* Bumping to new version

imx6 current
meson-gxl current

* Bumping to new version

linux-image-current-imx6_20.08.4-trunk_armhf.deb
linux-image-current-meson64_20.08.4-trunk_arm64.deb

* Bumping to new version

Adding following kernels:\n

* Bumping to new version

Adding following kernels:

linux-image-current-imx6_20.08.4-trunk_armhf.deb
linux-image-current-meson64_20.08.4-trunk_arm64.deb

* Bumping to new version

Adding following kernels:

linux-image-current-meson64_20.08.5-trunk_arm64.deb
linux-image-current-sunxi_20.08.5-trunk_armhf.deb
linux-image-legacy-meson_20.08.5-trunk_armhf.deb
linux-image-legacy-s5p6818_20.08.5-trunk_arm64.deb

* fix versioning

Signed-off-by: Igor Pecovnik <igor.pecovnik@gmail.com>

* Bumping to new version

Adding following kernels:

linux-image-current-meson64_20.08.1_arm64.deb

* Put version back

Signed-off-by: Igor Pecovnik <igor.pecovnik@gmail.com>

* Bumping to new version

Adding following kernels:

linux-image-current-imx6_20.08.0-trunk_armhf.deb
linux-image-current-meson64_20.08.0-trunk_arm64.deb
linux-image-current-mvebu_20.08.0-trunk_armhf.deb
linux-image-current-mvebu64_20.08.0-trunk_arm64.deb
linux-image-current-odroidxu4_20.08.0-trunk_armhf.deb
linux-image-current-rockchip_20.08.0-trunk_armhf.deb
linux-image-current-rockchip64_20.08.0-trunk_arm64.deb
linux-image-current-sunxi_20.08.0-trunk_armhf.deb
linux-image-dev-mvebu_20.08.0-trunk_armhf.deb
linux-image-dev-rockchip64_20.08.0-trunk_arm64.deb
linux-image-legacy-meson_20.08.0-trunk_armhf.deb
linux-image-legacy-meson64_20.08.0-trunk_arm64.deb
linux-image-legacy-mvebu_20.08.0-trunk_armhf.deb
linux-image-legacy-mvebu64_20.08.0-trunk_arm64.deb
linux-image-legacy-odroidxu4_20.08.0-trunk_armhf.deb
linux-image-legacy-rk3399_20.08.0-trunk_arm64.deb
linux-image-legacy-rockchip_20.08.0-trunk_armhf.deb
linux-image-legacy-rockchip64_20.08.0-trunk_arm64.deb
linux-image-legacy-rockpis_20.08.0-trunk_arm64.deb
linux-image-legacy-s5p6818_20.08.0-trunk_arm64.deb

* Bumping to new version

Adding following kernels:

* Bumping to new version

Adding following kernels:

linux-image-dev-rockchip_20.08.0-trunk.2_armhf.deb

* Bumping to new version

Adding following kernels:

* Bumping to new version

Adding following kernels:

* Bumping to new version

Adding following kernels:

* Bumping to new version

Adding following kernels:

* Report error code, adjust version

* Adjust ver

* Add another switch

Co-authored-by: Manuel Rüger <manuel@rueg.eu>
Co-authored-by: root <root@workstation>
2020-06-17 11:38:17 +02:00
Igor Pečovnik
ca67855553
Add GPT partition table support (#2015)
* Add GPT parition table support               Leave unchanged / mbr by default since GPT doesn't works everywhere.

* Accept ROOTFS_PARTITION_TABLE as a parameter

Signed-off-by: Igor Pecovnik <igor.pecovnik@gmail.com>

* Change variable name

Signed-off-by: Igor Pecovnik <igor.pecovnik@gmail.com>

* Update README.md
2020-06-14 23:03:58 +02:00
The-going
dcc6e791da
Offlinework (#2019)
* Delete FORCE_CHECKOUT, IGNORE_UPDATES variables

There are currently two questionable variables.
They are the keys in the structures:
'if [[ $FORCE_CHECKOUT == yes ]]; then' in the function 'fetch_from_repo()'
which is set by default by the script 'main.sh'
'[[ -z $FORCE_CHECKOUT ]] && FORCE_CHECKOUT=yes'

Next in the script 'main.sh'

if [[ $IGNORE_UPDATES != yes ]]; then
    display_alert "Downloading sources" "" "info"
    fetch_from_repo "$BOOTSOURCE" "$BOOTDIR" "$BOOTBRANCH" "yes"

This key has aged. It can't work properly today.
We should always clear the sources before starting the build.
For this reason, these two keys in these places do not make any sense.
You can just delete them.

* Working offline for sources

This is useful when building recursively for multiple platforms,
when some resource on the Internet is frozen.
To do this, I entered a new variable 'OFFLINE_WORK'

* New ability to work in offline mode

* Skip check prepare host
* Add unset OFFLINE_WORK in lib/build-all-ng.sh

Sources, time and host will not be checked
Now you can collect packages without accessing the Internet
2020-06-14 22:58:02 +02:00
Igor Pečovnik
0832201958
Rework of image signing. (#1995)
* Rework of image signing. We compress the image first, then signing and shaing that.

Based on @belfastraven work https://github.com/belfastraven/build/blob/pre-new-doc/lib/debootstrap.sh

* Uncompressed images can be removed

Signed-off-by: Igor Pecovnik <igor.pecovnik@gmail.com>
2020-05-28 15:52:44 +02:00
Igor Pecovnik
53e4bc2d38
Armbian firmware recreation and image upload bugfix
Cleaning was improper in case of retries

Signed-off-by: Igor Pecovnik <igor.pecovnik@gmail.com>
2020-05-19 17:43:48 +02:00
Igor Pečovnik
26d377cd2a
Adding new feature REPOSITORY_INSTALL (#1933)
* Rework packages install that they can be installed from repository instead of local compile. Handy for making releases.
* Don't build ATF if you don't build u-boot
2020-05-10 14:36:22 +02:00
Igor Pecovnik
e57aaf6556 Internal switch - make the same nightly images as for stable one. For making RC targets. 2020-05-10 12:21:21 +02:00
Igor Pecovnik
25eff65004 Add variables to build-all 2020-05-06 21:50:48 +02:00
Igor Pečovnik
4fe804b399
Enabling Ubuntu 20.04 and Debian 11 build targets (#1872) 2020-04-05 22:25:15 +02:00
Igor Pecovnik
3479b590e0
Improve images uploading
Select faster SSH chiper to speed up a bit

Signed-off-by: Igor Pecovnik <igor.pecovnik@gmail.com>
2020-04-04 22:30:22 +02:00
Igor Pecovnik
b607b666b3
Improve XZ compression support
Cleanup after upload, download scripts also supports this format

Signed-off-by: Igor Pecovnik <igor.pecovnik@gmail.com>
2020-04-04 21:04:34 +02:00
Igor Pečovnik
874149e6ad
Add support for xz image compression format (#1868)
Our next default.
2020-04-04 18:29:42 +02:00
Igor Pecovnik
a5472556aa Build-all bugfix 2020-02-16 21:57:04 +01:00
Igor Pecovnik
70c3a79c3e Backend / repository management fixes and improvements 2020-02-02 23:56:32 +01:00
Igor Pecovnik
c14dad452c General: bump with version and adjust few targets 2020-01-05 23:15:21 +01:00
Igor Pecovnik
2f608fe379 Adjust build targets and address small backend issue 2019-12-30 19:34:37 +01:00
Igor Pecovnik
2b3bcd1be6 Bump with version due to some bugfix images upgrades, change targets, small changes to backend code 2019-12-27 19:59:11 +01:00
Igor Pecovnik
8df3e98401 Add Debian 11 bullseye 2019-12-13 20:01:00 +01:00
Igor Pecovnik
6e54a48778 Exchange EOL Ubuntu Disco with Ubuntu Focal 20.04 LTS (development) 2019-12-12 15:51:42 +01:00
Igor Pečovnik
150ac0c2af
Remove K<4, change branches, new features (#1586)
AR-1 - Adding support category for distributions
AR-4 - Remove Allwinner legacy
AR-5 - Drop Udoo family and move Udoo board into newly created imx6 family
AR-9 - Rename sunxi-next to sunxi-legacy
AR-10 - Rename sunxi-dev to sunxi-current
AR-11 - Adding Radxa Rockpi S support
AR-13 - Rename rockchip64-default to rockchip64-legacy
AR-14 - Add rockchip64-current as mainline source
AR-15 - Drop Rockchip 4.19.y NEXT, current become 5.3.y
AR-16 - Rename RK3399 default to legacy
AR-17 - Rename Odroid XU4 next and default to legacy 4.14.y, add DEV 5.4.y
AR-18 - Add Odroid N2 current mainline
AR-19 - Move Odroid C1 to meson family
AR-20 - Rename mvebu64-default to mvebu64-legacy
AR-21 - Rename mvebu-default to mvebu-legacy
AR-22 - Rename mvebu-next to mvebu-current
AR-23 - Drop meson64 default and next, current becomes former DEV 5.3.y
AR-24 - Drop cubox family and move Cubox/Hummingboard boards under imx6
AR-26 - Adjust motd
AR-27 - Enabling distribution release status
AR-28 - Added new GCC compilers
AR-29 - Implementing Ubuntu Eoan
AR-30 - Add desktop packages per board or family
AR-31 - Remove (Ubuntu/Debian) distribution name from image filename
AR-32 - Move arch configs from configuration.sh to separate arm64 and armhf config files
AR-33 - Revision numbers for beta builds changed to day_in_the_year
AR-34 - Patches support linked patches
AR-35 - Break meson64 family into gxbb and gxl
AR-36 - Add Nanopineo2 Black
AR-38 - Upgrade option from old branches to new one via armbian-config
AR-41 - Show full timezone info
AR-43 - Merge Odroid N2 to meson64
AR-44 - Enable FORCE_BOOTSCRIPT_UPDATE for all builds
2019-11-19 23:25:39 +01:00
Igor Pecovnik
ad71eeab96 Infrastructure: small fixes and improvements regarding images upload 2019-10-31 16:14:24 +01:00
Igor Pecovnik
d9e6106c29 Tiny development related feature. Adding local mirror if defined. 2019-10-03 20:06:45 +02:00
Igor Pečovnik
1221d59233
Build all targets RFC (#1515)
* Introducing build-all-ng
* Implementing REBUILD_IMAGES='board1,board2,...' for rebuilding certain images only
* Add optimisations when building kernels - only cycle trough needed targets. Adding variable for defining whether an image is build, otherwise only BSP is made.
* repository manipulating RFC
* Add bianco deb file that is added by default if repository is clean
* Switch to gpg2 signing method, small bugfix
* Create subdir for debs and debs-beta
* Synaptic bugfix: installing indexing tools https://forum.armbian.com/topic/8021-orange-pi-one-synaptic-package-manager-search-very-slow/?do=findComment&comment=74918
* add all modules by default to Odroid N2, but leave them commented
* Bugfix: not making any builds when selecting kernel_only
* Remove EXTERNAL=yes ... move armbian-config and armbian-firmware into main compilation area, drop others since they are deprecated anyway. This will also enable multi threaded images making
* Move armbian.list to create_sources_list function. Replace NTP by Chrony. Remove armbian-firmware from PACKAGE_LIST and RockPi 4A (#1528)
* Replace NTP by chrony. Remove installion of outdated armbian-firmware from reposity.
* added RockPi 4A
* New format for board config
* Fix Bluetooth dependencies for minimal package - add rfkill to family related installs
* Moving networkd-dispatcher from minimal image
* Cubox-i: update default config
* Improving umount process
* Add purgesource feature
* Add FULL_DESKTOP to install few more applications on top of our desktop - notebooks should * rk3399 default: adjust patches and configuration
* Enable full desktop on most powerfull boards and notebooks

Signed-off-by: Igor Pecovnik <igor.pecovnik@gmail.com>
2019-09-01 22:13:13 +02:00