Commit Graph

1143 Commits

Author SHA1 Message Date
hzyitc
218c7c4918
Allow copying bootscript when BOOTCONFIG=none (#4056) 2022-08-10 09:01:45 +02:00
Igor Pečovnik
e871b8e2ea
Rootfs cache refactoring (#4057)
* First part of rootfs cache refactoring

* Add support for checking previous caches.

* New default starting number

* Move back to n

* Add zstd compressor to the host dependencies

* Change cache compression to ZST

* Cleaning cache support
2022-08-10 00:17:28 +02:00
Igor Pečovnik
f06452c091
Enable AUFS, adjust kernel configs (#4054)
* Enable AUFS, adjust kernel configs

* Enable aufs

* rpi
2022-08-09 09:14:53 +02:00
Jianfeng Liu
0bb0a5a273
Merge pull request #4050 from hzyitc/bugfix-mkfs-label
Bugfix: mkfs: flag for label
2022-08-08 19:45:46 +08:00
hzy
a803fb15ab Bugfix: mkfs: flag for label 2022-08-06 12:05:21 +08:00
The-going
97c6e5e9dd
sunxi-5.19: Initial state for megous patches (#4048)
* sunxi-5.19: Initial state for megous patches

* Add the ability to do 5.19

* Move to 5.19

- tested both
- removed broken Opi Zero xradio driver https://armbian.atlassian.net/browse/AR-1280

* sunxi-5.19: fix tag for switch

* sunxi-5.19: Initial state for armbian patches

* sunxi-5.19: Add armbian patches to series.conf file

* sanxi-5.19: Add other 2 patches

* sunxi-5.19: Limit to use the 'wireless/xradio' module

Limit the kernel version to less than 5.19 to use
the 'wireless/xradio' module

Co-authored-by: Igor Pecovnik <igor.pecovnik@gmail.com>
2022-08-05 21:23:49 +03:00
Igor Pečovnik
e366e48fa3
Disable bootsplash for linux ≥ 5.19 (#4042) 2022-08-03 22:22:42 +02:00
Igor Pečovnik
be8b2dcf01
Cache creation cleanup (#4036)
* Cache creation cleanup

Closing https://github.com/armbian/build/issues/3531

* Remove monthoffset parameter from action script

* - address displaying which variant is needed
- remove not needed text
- change ROOT_FS_CREATE_ONLY to yes / no
2022-07-31 16:48:25 +02:00
Igor Pečovnik
07d7d1a077
Remove deprecated functionality (#4034)
* Remove deprecated functionality

Since we are storing version number outside, we don't neet to deal with month cache rebuild here. Removing the code

* Change cron to more appropriate date

We tend to make releases by the end of the month, so cache rebuild in the middle is better then at the start of the month
2022-07-31 11:28:44 +02:00
Alexey Vazhnov
6f0837231c
lib/debootstrap.sh: add ROOT_FS_LABEL and BOOT_FS_LABEL (#4031) 2022-07-31 10:35:34 +02:00
Igor Pečovnik
21fc940aaf
Several small bug fixes mainly outside supported areas (#4032)
* - disable few targets
- update unsupported kernel config
- bugfix on dtb install
- bugfix in download engine

* - fix broken compilation
- move onecloud to eos
2022-07-31 10:34:48 +02:00
Oleg
fe5c5c5c78
fix install repo station-p2 current (#4028) 2022-07-30 13:53:33 +02:00
Igor Pečovnik
3c83dabebf
Revert "Fix for build error on aarch64 with ERROR in function check_loop_device (#3831)" (#4027)
This reverts commit 8d16d9f810.
2022-07-29 18:24:42 +02:00
Igor Pečovnik
659af355c2
Cleanup: remove deprecated functionality (#3996)
* Remove deprecated functionality

* Forgot to remove few bits of BUILD_ALL
2022-07-14 20:49:52 +02:00
Igor Pečovnik
0b4fe79ad7
Removing escaping which proved to cause the problem here (#3983) 2022-07-10 20:45:56 +02:00
Igor Pečovnik
047a2447f6
Verifying md5 of installed deb packages with debsums (#3955)
* Typo in packaga name

* WIP: Test for packages integrity just before closing images

* Working debsum check

* Dialog is not needed

* Optimisations - uninstall debsums as we don't need it later on

* Cosmetics

Assuming this is related to both Ubuntu and Debian

Co-authored-by: Werner <EvilOlaf@users.noreply.github.com>
2022-07-09 11:36:52 +02:00
Igor Pečovnik
20ee8c5450
Add support for month cache, limit push to master branch (#3939)
* Add support for month cache, limit push to master branch
* Bump cache version
* Add calculator
* Control file can't be zero lenght
* Remove non-existing package
* Remove non-existing pkg
* Wrong secret used
* Fix broken packages
* Improve download methods. No more errors
* Fix mechanism for using old cache files
2022-06-28 18:04:31 +02:00
The-going
7988c08451
feat: install_pkg_deb: Add the ability to install package files in function (#3929) 2022-06-24 13:15:21 +03:00
Igor Pečovnik
f2b5a34b91
Refactor rootfs caching (#3895) 2022-06-18 23:56:36 +02:00
Igor Pečovnik
887147c82f
Fix githash cache and images creation with CI (#3854) 2022-06-15 21:16:23 +02:00
hzyitc
a863b5a242
Onecloud: fix some bugs (#3873)
* Refactor patches

* Fix bug: the USB closed to the HDMI doesn't work

* Fix bug: cpufreq doesn't work

* Fix bug: thermal_zone doesn't work

* More frequency governors

* Add bootscript

* Fix bug: add missing dependency
needed for gcc-arm-8.3-2019.03-x86_64-arm-linux-gnueabihf
2022-06-11 18:03:03 +02:00
The-going
315a48a16b
fix: Chroot pkg (#3870)
* fix: chroot build for buster: error when calculating dependencies

* Initialize environment variables when calling chroot

* fix: warning: setlocale: LC_ALL: cannot change locale (en_US.UTF-8)
2022-06-08 21:23:17 +03:00
Igor Velkov
a1acdc95de
Move locale preparation and set from rootfs to image customization (#3856) 2022-06-07 20:40:50 +02:00
Igor Pečovnik
ae1c5ecd5c
AUFS breaks on 5.15.y (#3866) 2022-06-07 10:40:58 +02:00
Igor Pečovnik
8ba7b7e214
Switching the rest to 5.18.y (#3860)
* Update kernel configs

* Switch sunxi edge to 5.18.y

* Move sunxi to 5.18.y and re-enable AUFS

* Change version - temporally to make a build from here

* Update config

* 88xx was fixed in the mean time.

* Put version back

* Fix sunxi legacy, disable aufs on 5.10.y since its broken

* Upstream changed in the mean time

* Add a patch to enable 8821cu compilation at 5.18

https://github.com/armbian/build/pull/3814

* Re-enable CONFIG_RTL8822BU in edge

* Update CONFIG_RTL8XXXU

* Bump imx6

* Bump uefi kernels to 5.18.y

* Bump mvebu64 and switch odroid xu4 to 5.18
2022-06-07 07:49:08 +02:00
Igor Velkov
8d16d9f810
Fix for build error on aarch64 with ERROR in function check_loop_device (#3831) 2022-06-06 10:06:25 +02:00
Igor Velkov
4b05414c19
Fix 'cannot change locale (en_US.UTF-8)' warning #3850 (#3851) 2022-06-04 11:29:25 +02:00
Derek
6bf936d2e3
update atf to 2.6, and don't rename the elf to bin (#3811)
* update atf to 2.6, and don't rename the elf to bin

* avoid warnings with compiler version 10
2022-05-29 17:28:54 +02:00
Chun-Sheng, Li
db48d62833
Closes #3760 (#3818)
* Closes #3760

* Small code clenaup

Co-authored-by: Igor Pecovnik <igor.pecovnik@gmail.com>
2022-05-28 07:51:20 +02:00
Igor Pečovnik
5847e91f18
Bugfix - add missing dependency (#3824)
Neede for assembling Orangepizero2 legacy boot loader
2022-05-27 08:58:25 +02:00
Julian Sikorski
558901ac68
Drop AUFS from kernels below 5.10 as these are not supported by upstream (#3822) 2022-05-26 18:46:54 +02:00
Chun-Sheng, Li
412660cd14
Closes #3759 (#3817) 2022-05-26 07:56:56 +02:00
Chun-Sheng, Li
974eafea4c
Closes #2880 (#3819) 2022-05-26 07:56:44 +02:00
The-going
e7d7dab1bb
fix: check and add debian package compression for kernel legacy (#3807) 2022-05-23 15:53:38 +02:00
Oleg
c7adcd2671
fix install packages dtb (#3793) 2022-05-20 10:41:24 +02:00
The-going
60c31912b5
Fix incorrect dependency calculation. (#3783)
In the case when there are more than one pair of brackets,
the regular expression removes the names between the extreme
pair brackets. And dependencies cannot be installed.
Currently, the syntactic analysis of the resulting dependency
string is performed correctly by the installation function itself.
A regular expression is not needed here.
2022-05-18 07:39:55 +02:00
Igor Pečovnik
c8013d14a5
Small bugs and cosmetic issues (#3776)
* Remove debug code

* Replace duplicate query

* Oh-my-zsh configuration has been changed. Adjusting our modifications

* Address changes to git client in a better way
2022-05-11 19:46:10 +02:00
lanefu
e621d25adc
Revert "modifications of firstrun scripts (#3642)" (#3772)
This reverts commit c8855aa08d.
2022-05-08 13:49:05 -04:00
Derek
c8855aa08d
modifications of firstrun scripts (#3642)
* modifications of firstrun scripts

* Further making use of systemd statements to order firstboot scripts

* allow systemd ordering of ssh to avoid restarting in firstrun script

* suggested changes, add wants=first-boot-complete

* Remove SSH keys in debootstrap process

Co-authored-by: Igor Pecovnik <igor.pecovnik@gmail.com>
2022-05-07 15:52:31 +02:00
Igor Pečovnik
b8d4fb9d07
Update only supported repositories (#3752)
Don't add any packages to CSC repos, but generate index.
2022-05-04 14:41:48 +02:00
Igor Pečovnik
042cdbd6a3
Force rootfs cache recreation (#3746) 2022-05-03 10:58:58 +02:00
Igor Pečovnik
d971b805d4
Improving repository switch to beta (#3738) 2022-05-03 08:31:33 +02:00
Igor Pečovnik
897674aa74
Bump and freeze kernel at last known working versions (#3736)
* Freeze kernel at last known working versions

* Fix media kernel

* Update rockchip64 to 5.17.y

* Move patches up

* Re-ad aufs

* Fix rpi kernels
2022-05-03 08:27:32 +02:00
Igor Pečovnik
093f503073
Kernel 5.10.y need patch adjustment for boot splash (#3741) 2022-05-03 07:54:17 +02:00
Igor Pečovnik
811b14aa48
Remove dead mirrors to suppress rootfs download errors (#3721)
* Remove dead mirrors to suppress rootfs download errors

* Typo
2022-04-30 18:58:43 +02:00
Oleg
b8841b9c87
fix build for kernel 5.17 (#3729) 2022-04-30 18:48:12 +02:00
Przemysław Sztoch
13b1fdb081
Fix for rsyslog.conf and for SRC_EXTLINUX=yes with BOOTFS_TYPE=... (#3673)
* Better manifest and fix for rsyslog.conf

Commit info about builder
Somebody does not use rsyslog...

* Bug fix for SRC_EXTLINUX=yes with BOOTFS_TYPE=...
2022-04-24 22:36:24 +02:00
Paolo Sabatino
e8e94a7541 provide led state save and restore functionality scripts and service 2022-04-23 14:08:03 +02:00
Derek
63a6593336
begin to support u-boot distroboot (#3675) 2022-04-23 12:33:01 +02:00
The-going
c7b11b839b
Sunxi 5.17 (#3701)
* sunxi-5.17: Add series patches rtw88, rtw89 drivers

* Fix sunxi-5.17 for v5.17.4 version

* Print the error message and its contents

* rtl8822bs: used if kernel version less 5.16

Restrict the use of the wifi driver" "rtl8822bs" for
the kernel version less than 5.16
2022-04-20 22:01:33 +03:00