Commit Graph

1378 Commits

Author SHA1 Message Date
David Kebler
6225c2004a
fix - improve display alert for installing basic packages on host to indicate the installation occurs on host not in container. (#4410)
Co-authored-by: kebler.net <kebler.net@gmail.com>
2022-11-11 11:48:26 +01:00
Oleg
cb9348c6dc
fix build rtl8723ds for kernel 6.0 (#4407) 2022-11-10 13:24:18 +01:00
Igor Pečovnik
c09e6bcab6
Error triggered when changing BSP package (#4394) 2022-11-08 12:38:11 +01:00
Igor Pečovnik
3e701a857a
Add initial RiscV support (#4387)
* Add initial RISCV support

* Add UEFI edge and current kernel configs

* Cleanup and adjust packages

* Those files were in wrong path

* Fix locations

* Ubuntu images built

* Remove Debian support as its too fragile

* Remove Pinta as it doesn't work under riscv

* Limitation is only for building images

* Remove obsolete switch

* Cleanup major arch config files

* Support for Docker building
2022-11-06 20:33:11 +01:00
hzyitc
b96ed3e313
Bugfix about debsums (#4363) 2022-10-29 17:51:12 +02:00
David Manouchehri
b5ba3c493f
Rename SERIAL_AUTOLOGIN to CONSOLE_AUTOLOGIN. 2022-10-26 11:47:19 -05:00
David Manouchehri
f037b773b9
Enable auto-login by default. 2022-10-26 11:39:06 -05:00
David Manouchehri
09f31750bb
Only enable serial logins if enabled. 2022-10-26 11:25:35 -05:00
Vyacheslav
e13d750814
Re-enable RTL8822CS in meson64-edge and for kernel 6.0+ (#4350) 2022-10-26 13:48:13 +02:00
The-going
bd72c996b7
Bump sunxi to 6.0.y (#4282)
* sunxi-6.0: initial state: add megous patches to series

* sunxi-6.0: Switch to v6.0.1

* wifi: Limit the version 6.0 for Realtek 88x2cs chipsets

* Adjust kernel configs

* Remove not needed patches

* Adjust broken patches

Co-authored-by: Igor <igor@armbian.com>
2022-10-25 20:39:08 +02:00
Oleg
d41125a5fd
move Jetson Nano EFI\Grub (#4284)
* move Jetson Nano EFI\Grub

* fix dtb for efi

* remove list module initrd curren\edge for Jetson Nano

* rename to  grub-sbc-media
2022-10-25 11:28:23 +02:00
Igor Pečovnik
6765f734cc
Bump rockchip64 edge to 6.0.y (#4337)
* Bump rockchip64 edge to 6.0.y

Build test passing

* Update kernel config, enable aufs, disable broken wireless, remove deprecated patch
2022-10-25 11:26:51 +02:00
Igor Pečovnik
df7a603553
Resolv check was done for host while it should be done for chroot (#4325) 2022-10-24 09:09:12 +02:00
Igor Pečovnik
5d7744c880
Add Ubuntu 22.10 Kinetic (#4326)
* Add Ubuntu Kinetic
* Remove missing package
* Keep only working desktops in kinetic
* Optimisation
* Cleanup
2022-10-24 09:07:51 +02:00
Igor Pečovnik
21b8626e4c
Disable hostapd service as it might not always be configured (#4327) 2022-10-24 09:05:23 +02:00
Igor Pečovnik
4ca346d82c
Replace Ubuntu PRO advertisement (#4303) 2022-10-22 17:35:25 +02:00
The-going
d58c839c04
fix: chroot buid: Selecting value "user-built" for proper operation (#4280)
The else condition will never be met.
The chroot_build_packages function collects all packages everything
for all operating systems and the user is drowning in the amount
of code being executed.
2022-10-22 17:32:47 +02:00
hzyitc
ee38fedbc7
Let mkfs.ext4 decide inode number (#4301) 2022-10-18 20:46:30 +02:00
hzyitc
cc87567334
Reenable Github API to fetch rootfs-cache version (#4295) 2022-10-17 18:15:35 +02:00
Oleg
bf985575b7
fix remove boot-scr to SRC_EXTLINUX=yes (#4298) 2022-10-17 18:11:38 +02:00
hzyitc
cec9cf4d55
Remove machine-id (#4288) 2022-10-15 10:45:09 +02:00
hzy
163fd54290 Rename for typo 2022-10-12 11:20:33 +02:00
hzy
a2c86a2706 Split /lib/functions/cli/cli-entrypoint.sh from /compile.sh 2022-10-12 11:20:33 +02:00
hzy
19fa4d2391 Split /lib/functions/cli/utils-cli.sh from /compile.sh 2022-10-12 11:20:33 +02:00
hzy
76393cf85a We don't need /lib/main.sh anymore 2022-10-12 11:20:33 +02:00
hzy
91412214e4 Split interactive_desktop_main_configuration from /lib/main.sh 2022-10-12 11:20:33 +02:00
hzy
0c72faf421 Split out functions from /lib/main.sh 2022-10-12 11:20:33 +02:00
hzy
58051b04b7 Split interactive_config_ask_* from /lib/main.sh 2022-10-12 11:20:33 +02:00
hzy
e8ab9e73d0 Wrap /lib/fel-load.sh as function 2022-10-12 11:20:33 +02:00
hzy
a4a4cc385f Wrap /lib/configuration.sh as function 2022-10-12 11:20:33 +02:00
hzy
da15acb0c3 Split interactive_desktop_main_configuration from /lib/configuration.sh 2022-10-12 11:20:33 +02:00
hzy
cda53306a6 Split out functions from /lib/configuration.sh 2022-10-12 11:20:33 +02:00
Ricardo Pardini
85c8cbf15d run shellfmt on all of lib 2022-10-08 14:37:22 +02:00
hzy
ca106aac33 Split /lib/compilation-prepare.sh 2022-10-08 14:37:21 +02:00
hzy
56971b1530 Split /lib/chroot-buildpackages.sh 2022-10-08 14:37:21 +02:00
hzy
7761049c65 Split /lib/makeboarddeb.sh 2022-10-08 14:37:21 +02:00
hzy
445f2ddcb3 Split /lib/compilation.sh 2022-10-08 14:37:21 +02:00
hzy
6d0c97d6ec Split /lib/desktop.sh 2022-10-08 14:37:21 +02:00
hzy
1f65d9d890 Split /lib/distributions.sh 2022-10-08 14:37:21 +02:00
hzy
c46d182159 Split lib/image-helpers.sh 2022-10-08 14:37:21 +02:00
hzy
13eecd8240 Split lib/debootstrap.sh 2022-10-08 14:37:21 +02:00
hzy
d4c8dff4f0 Split lib/general.sh 2022-10-08 14:37:21 +02:00
hzy
14f4260bf9 Add lib/import-functions.sh to import functions
Note: build will fail on this commit
2022-10-08 14:37:21 +02:00
Ricardo Pardini
3ee0c015cd armbian-next: lib/tools - shell - gen library and shellfmt
- armbian-next: `lib/tools/shellfmt.sh` - format only `lib` and `config/sources/`, `extensions` and `compile.sh`
2022-10-08 14:37:21 +02:00
hzyitc
708b199970
Bugfix: aria2: Failed to open ServerStat file (#4233) 2022-09-26 18:35:34 +02:00
hzyitc
d4ea8e98be
Add some China mirrors for Ubuntu amd64 (#4236) 2022-09-26 18:35:06 +02:00
hzyitc
8b2b14de40
Refactor download_and_verify (#4172)
* Split out decompress code from `download_and_verify`

* Clean the code to recieve keys

* Split out `aria2_options` array

* Tweak `aria2_options`

* `download_and_verify` always require `asc` file

* Download torrent from multi origin

* Refactor `get_urls` which renamed from `webseed`

* Add Github source to download rootfs cache

* Remove some useless check

* Change the argument of `download_and_verify`

* We don't need `complete` file

* Delete files when verification failed

* Adapt the refactored `download_and_verify`

* Remove useless config `ARMBIAN_MIRROR`

* Bugfix: verify never fail

* Specify directory argument instand of cd
2022-09-22 17:31:29 +08:00
Igor Pečovnik
0a9839d0b7
Update compilation.sh (#4200)
Closing https://github.com/armbian/build/issues/4197
2022-09-20 04:02:17 +02:00
Shengyu Qu
08529413a8
Fix ath11k firmware packaging (#4191)
Make hardlinks for WCN685x hw2.1 firmware since they are using the same firmware with hw2.0
2022-09-16 06:42:46 +02:00
hzyitc
394aec3733
Use hex type codes in sfdisk for compatibility (#4189) 2022-09-15 11:07:52 +02:00
Igor Pečovnik
ab14812771
Since latest changes to the partition handling we need to add new dependency to the build host & docker (#4187) 2022-09-15 08:18:59 +02:00
hzyitc
8643161567
Incorrent condition for bootscript in create_board_package (#4186) 2022-09-14 18:35:43 +02:00
hzyitc
d54ebcbab4
mount /tmp as tmpfs && Use /tmp when update-initramfs (#4185)
* mount `/tmp` as `tmpfs` when chroot

* Use `/tmp` instand of `/var/tmp` when `update-initramfs`
2022-09-14 17:21:37 +02:00
Igor Pečovnik
a80c388eb3
Attempt to fix remaining bugs in the desktops (#4180)
* Add gdm3 as conflicting desktop package

Remove it from package base

To do: testing

* Add SKEL distribution to all existing users to the postinst script

+ fix permissions

* Enable PSD

* Move all 3rd party sources to CLI image

This will prevent from installing snap versions

* Bring PSD to remaining and address bug in postinst
2022-09-14 16:33:22 +02:00
The-going
dca8bd6577 Uniform style for section name label 2022-09-14 15:39:10 +03:00
The-going
a91ab21628 Print partition table after write_uboot to the log 2022-09-14 15:39:10 +03:00
The-going
42484079ab Human-readable log of free space 2022-09-14 15:39:10 +03:00
hzy
cc787236b5 Use more corrent part type for bootfs 2022-09-14 15:17:06 +03:00
hzy
eef32d072e Refactor partition 2022-09-14 15:17:06 +03:00
Igor Pečovnik
8c93358300
Give additional 5% of space for creating blank image (#4181)
Signed-off-by: Igor <igor@armbian.com>

Signed-off-by: Igor <igor@armbian.com>
2022-09-14 11:10:56 +02:00
hzyitc
11d2ef63c3
Support Plymouth (#4133)
* Add plymouth-theme-armbian package

* Adjust all bootscripts to adapt plymouth

* Auto show logo accroding to BOOT_LOGO

* Enable plymouth detail mode when bootlogo=false

* Add a new board config var - HAS_VIDEO_OUTPUT

This var is used to indicate whether device has a HW video output.
If it's set to "no", we will disable kernel bootsplash, plymouth and BUILD_DESKTOP

* Rename package to be aligned with others

* Disable kernel bootloader, but keep the code for it

* Rather keep bootlogo in the kernel for a while, otherwise kernel upgrade will turn bootup into the darkness

Co-authored-by: Igor Pečovnik <igorpecovnik@users.noreply.github.com>
Co-authored-by: Igor <igor@armbian.com>
2022-09-13 15:16:30 +02:00
Igor Pečovnik
eca79f2a01
Switch to existing upstream brasnch / commit (#4175) 2022-09-13 15:14:06 +02:00
Igor Pečovnik
e066bf1bf3
Re-enable xradio on sunxi64-current (#4160)
* Re-enable xradio on sunxi64-current

* Fix path
2022-09-07 20:53:59 +02:00
Igor Pečovnik
814017affa
Clean boot logo patches (#4155)
Tested building on 5.15.y and 5.19.y
2022-09-05 11:12:48 +02:00
Igor Pečovnik
48628eb431
Remove deprecated wifi patches (#4140) 2022-09-03 23:20:45 +02:00
Igor Velkov
ee58cf1130
Fix for #4146 cp: missing destination file for helios64 (#4147) 2022-09-03 23:20:34 +02:00
hzyitc
9a004bfd52
Disable Github API in get_rootfs_cache_list (#4152) 2022-09-03 09:28:39 +02:00
hzyitc
6302958347
Typo in create_rootfs_cache version (#4149) 2022-09-02 20:47:39 +02:00
hzyitc
71f4e4091d
Refactor rootfs cache (#4080)
* Lint

* Rename: rootfs-cache for finding local cache easily

* Search local caches if we can't download any remote caches

* Use github api to get cache list instand of just try

* Use 0000 as default version to generate rootfs cache

* Use YYYYMMDD as rootfs version

* Rewrite the process

* Check local and remote cache at same time

* Add quote for jq to avoid a strange bug

* Remove creation of .current file

* Add package versions and silense debsums by default

* Typo

Co-authored-by: Igor Pecovnik <igor.pecovnik@gmail.com>
2022-09-02 13:21:47 +02:00
hzyitc
ac20afc062
Fix nfs build (#4139)
* Tweak the size of NFS boot image to avoid no space while update_initramfs

* Bind mount root for update_initramfs when ROOTFS_TYPE=nfs
2022-09-01 23:07:14 +02:00
Igor Pečovnik
426afe0c4f
Small refactor / cleaning of distribution tweak (#4131)
* Small refactor / cleaning of distribution tweak

Addressing cosmetic / warning from locales

* Remove deprecated parts
2022-08-30 07:52:19 +02:00
Igor Pečovnik
2c6f0c70e6
Re-enable Kernel bootsplash for 5.15.y or higher (#4132)
Tested on Meson64 and Rockchip64

Wasn't that hard after all :)
2022-08-30 07:52:06 +02:00
Igor Pečovnik
03dbd9d3a7
Move header revert patch under misc patches (#4128)
* Move header revert patch under misc patches as its only related to extra wifi drivers

* Update text
2022-08-29 08:44:21 +02:00
Igor Pečovnik
4dab880d11
Remove deprecated patch (#4119) 2022-08-27 08:33:18 +02:00
Michael McMahon
2e6a29ab0d
Changing txt file output to match xz compression. (#4107) 2022-08-24 07:48:36 +02:00
Igor Pečovnik
1373259602
Disable boot logo support as its broken (#4105) 2022-08-22 07:04:28 +02:00
Igor Pečovnik
ac5ee4d847
Remove deprecated patch (#4099) 2022-08-21 19:18:10 +02:00
Igor Pečovnik
d86a65c5c3
RTL88x2BU adjustement leftovers (#4094) 2022-08-20 08:49:59 +02:00
Igor Pečovnik
aa99cb64c3
Solve compatibility issues for some of wifi patches (#4087)
* Solve compatibility issues for some of wifi patches, disable those that needs more work

* Fix 8812au

* Update to re-enable RTL88x2CS driver for 5.19.2+

* Add 8723ds and rename others

* Following naming convention

* Name

* Adjust UWE5622 for 5.19.2

* Update UWE5622 patch for sunxi

* Enable last one

* Fixes for 8723DU

Co-authored-by: Vyacheslav Bocharov <adeep@lexina.in>
2022-08-20 07:44:35 +02:00
hzyitc
0d5390dd32
Bugfix: unable to build with bootsplash (#4090) 2022-08-19 20:48:46 +02:00
hzy
a9214fba77 Use a shorter label as the default value for bootfs.
mkfs.vfat doesn't support more than 11 characters LABEL
2022-08-19 14:03:40 +08:00
Igor Pečovnik
3435c46367
Upstream wireless driver is broken at head. Attach it to last known working (#4069)
Tested with 5.4.y and 5.19.y
2022-08-13 21:17:06 +02:00
Igor Pečovnik
af6ceee6c5
Add proper fallback since anonymous API calls to GitHub are very limited (#4067)
* Add proper fallback since anonymous API calls to GitHub are very limited
2022-08-13 09:54:20 +02:00
Igor Pečovnik
23e4710bdd
Bugfix - after introducing new cache system based on Git releases, key also contains subfolder (#4066) 2022-08-12 20:28:29 +02:00
hzyitc
0cf80ac45d
Bugfix: overwrite install.log (#4059) 2022-08-12 14:30:31 +02:00
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
Igor Pečovnik
003a353d15
Re-enable AUFS (fixed on 5.17.y) and update kernel configs (#3698) 2022-04-19 20:28:32 +02:00
The-going
7c2f24d46c
Move sunxi 5.16 to 5.17 (#3696)
* Add reg_ahci_5v status okay for bananapro board

* Bananapro: add AXP209 regulators

* Fix series.conf, Disable the patch that is not being applied.

* Fix linux-sunxi64-edge.config for v5.17.3

* Fix linux-sunxi-edge.config to v5.17.3

* Switch EDGE to core 5.17 for sunxi

* Remove the old rtl8723cs driver which is incompatible with the new kernel and cannot be used.

* Use AUFS if the kernel version is less than 5.16

* Print the last 20 lines of the log if the kernel compilation failed.

* Set KERNEL_VERSION_LEVEL to 5.17

Co-authored-by: Igor Pecovnik <igor.pecovnik@gmail.com>
2022-04-18 23:26:29 +02:00
Igor Pečovnik
a9e6e33e85
Bugfix - wrong variable name (#3694) 2022-04-18 15:03:20 +02:00
Igor Pečovnik
07abe12936
Fixing changes in Git for unsafe folder (#3695) 2022-04-18 13:43:31 +02:00
Igor Pečovnik
778e3c625d
Set default values for hashes when empty (#3692) 2022-04-18 09:49:30 +02:00
Derek
d464f10fb1
wrong toolchain was added and used for building wtmi_app.bin (#3679) 2022-04-16 09:13:46 +02:00
Igor Pečovnik
f2483323bf
Re-enable AUFS (#3662) 2022-04-11 16:00:13 +02:00
Igor Pečovnik
3101abc6be
Adjust chroot build packages due to Jammy upgrade (#3650)
Bump hostapd to latest version.
2022-04-11 00:39:03 +02:00
Derek
b1e85c9258
create an option to allow ipv6 downloads (#3640)
* create an option to allow ipv6 downloads

* Coding style fix

Co-authored-by: Igor Pečovnik <igorpecovnik@users.noreply.github.com>
2022-04-07 19:07:40 +02:00
hzyitc
33c9f24198
Fix bug: exit code (#3634) 2022-04-07 16:04:24 +02:00
Igor Pečovnik
5fa5c69838
Remove conflicting package due to Jammy user base (#3643)
* Remove conflicting package

Aptly does not want gnupg1 that is shipped with Jammy anymore. We need to check what does that means for generating repos

* Fixing broken chroot dependency for Jammy

* Remove rng-tool package. It seems not relevant anymore

https://git.kernel.org/linus/c51f8f88d705e06bd696d7510aff22b33eb8e638
2022-04-07 01:04:15 +02:00
Igor Pečovnik
db408b61c4
Purge bionic, impish, hirsute, stretch (#3600)
* Purge bionic, impish, hirsute, stretch

- up jammy to supported (will be soon anyway)

* Change recommended build env to Jammy
2022-04-05 16:19:51 +02:00
Igor Pečovnik
708a4851fb
Add missing packages creation to build train (#3632)
* Add missing packages creation to build train

* Improved HASH calculation

Now it also checks series which were before invisible.

* Revert

* Bugfix

* Save git hash of patch files and kernel configuration file (#3636)

* Save git hash of patch files and kernel configuration file

* Storing values to the file. Now we have config hash separate.

todo: adjust on the checking side

Co-authored-by: Igor Pecovnik <igor.pecovnik@gmail.com>

Co-authored-by: The-going <48602507+The-going@users.noreply.github.com>
2022-04-05 15:41:58 +02:00
Vyacheslav Bocharov
98ccbc9d26
Update RTL8811CU driver to latest github source 2022-04-02 09:28:13 +03:00
Igor Pečovnik
2274e2658e
Force cache recreation due to corruption (#3617) 2022-04-01 21:49:03 +02:00
Igor Pečovnik
28d5c93bb4
Add support for CLI PPA (#3605)
* Cleanup PPA related in desktop / deboostrap

* Add Nala, a front-end for apt

Bullseye, Sid, Focal, Jammy

* Reduce duplication

* Remove duplicate message
2022-04-01 19:45:43 +02:00
Igor Pečovnik
af903b2ccd
Move Docker image to Ubuntu 22.04 LTS (#3481)
* Add tested Docker files for current Debian / Ubuntu, defaulting to Jammy

* Update update-docker.yml

* Update update-docker.yml

* Solving with Docker run parameters

* Just variable name change

* Update update-docker.yml

* Change to master

Also merge https://github.com/armbian/scripts/pull/6

* Set default values

* Add missing libssl1.1
2022-03-30 07:26:59 +02:00
Jannis
ae3ad1fdee
Apply changes to Espressobin from Issue#2861 (#3498)
* Apply changes to Espressobin from Issue#2861

* Additional config changes

* Add cryptopp to marvell tools

* Remove local DDR topology changes

* Disable ebin MACs in armbianEnv.txt

* Change kernel options for ebin, remove mtdparts

* Add CZ.NICs ebin firmware

* Increase ATF compiler version"

* fixup external toolchains

* add gcc-aarch64-linux-gnu package (#3585)

* correct compiler names for ATF, external toolchain

Co-authored-by: Derek LaHousse <dlahouss@mtu.edu>
Co-authored-by: Derek <ManoftheSea@users.noreply.github.com>
2022-03-28 07:16:22 -04:00
Vyacheslav
d1d7edd8ef
Update RTL8811CU driver to latest source patch driver for 5.17+ kernel (#3586) 2022-03-28 01:18:30 +02:00
Derek
c56c0ab506
Update external arm toolchains (#3582)
* Update external arm toolchains

Requires getting files into Armbian Mirror:

https://developer.arm.com/-/media/Files/downloads/gnu/11.2-2022.02/binrel/gcc-arm-11.2-2022.02-x86_64-arm-none-linux-gnueabihf.tar.xz
https://developer.arm.com/-/media/Files/downloads/gnu/11.2-2022.02/binrel/gcc-arm-11.2-2022.02-x86_64-aarch64-none-linux-gnu.tar.xz

* Add torrent files

Co-authored-by: Igor Pecovnik <igor.pecovnik@gmail.com>
2022-03-27 09:50:04 +02:00
Igor Pečovnik
2cd1131f72
Bump rootfs cache revision to force recreation (#3576)
We have buggy caches due to varios bugs that has been around but were fixed this week
2022-03-26 14:21:07 +01:00
Igor Pečovnik
eaa10a19de
Fixing deprecation notice for our primary key (#3553)
Leave old method for older variants
2022-03-26 12:40:42 +01:00
Igor Pečovnik
c96a9096c5
Bugfixes and improvements for https://github.com/armbian/build/pull/3560 (#3571)
Testet XFCE desktop builds on Focal, Jammy, Impish x86
2022-03-25 21:05:16 +01:00
Oleg
03ef96715e
fix emmc nano-pc-t4 (#3557)
* fix emmc nano-pc-t4
* fix node and del not used patch
2022-03-25 20:51:03 +01:00
Igor Pečovnik
1bb5ad98ab
Refactor all PPA sources to overcome apt-key deprecation (#3560) 2022-03-25 15:09:07 +01:00
brenkem
f3f12248e1
enable support for LINUX Mint 20.3 (#3541) 2022-03-19 16:48:02 +01:00
Igor Pečovnik
e6c7b84c02
Bringing wireless driver support to 5.15.y + (#3538) 2022-03-16 17:53:33 +01:00
Peter Young
11f1223ce2
Fix url slash & china mirror (#3525) 2022-03-09 09:24:27 +01:00
Igor Pecovnik
8ac58b806c
Change MAKE_FOLDERS into accepting any value for subfolder
Internal function
2022-02-27 21:49:03 +01:00
Igor Pecovnik
92a1c729d4 Fix image build status and remove build-all scenario 2022-02-27 11:48:59 +01:00
Igor Pečovnik
c859d0c831
Fixing package name changes in Jammy (#3512)
* Detach  Jammy from focal due to package changes

Fix font package name

* Resolve broken packages for Jammy / i3 / gnome / xmonad

printer-gnome is also obsolete

* Bump rootfs cache number
2022-02-25 19:26:45 +01:00
Igor Pečovnik
c1ccfe11b0
Adjust bootsplash patches for 5.15.y / 5.15.y (#3501) 2022-02-17 22:05:08 +01:00
Igor Pečovnik
2638284b3b
Enable AUFS and Docker (#3502)
* Enable AUFS and Docker

* Add AUFS to configs

* Update configs
2022-02-17 22:04:55 +01:00
iav
3cb8dc709b
remove wrong assumpsion "btrfs compressed fs always < current size" (#3485) 2022-02-14 19:06:22 +01:00
The-going
d3ff3de734
Function (#3476)
* Rename "git" to "improved_git" if the command accesses a remote server
* Rename by meaning
* fetch_from_repo: Remove dependency for related functions.
* waiter_local_git: Add an option for the whole family
if present in the configuration
* Correct the comment
* Fix rename git to improved_git
2022-02-13 20:13:51 +01:00
KevinZønda
3236e5299b
upd mirror site (#3483) 2022-02-13 17:42:27 +01:00
Igor Pečovnik
078b58df01
u-boot install fallback - use version which was downloaded from repo (#3475) 2022-02-12 10:30:07 +01:00
Igor Pečovnik
1e37959e53
Bumping sunxi/64, xu4, rockchip and mvebu64 to 5.16.y (#3453)
* Prepare xu4 edge for 5.16.y, move current of imx6 to 5.15.y and edge to 5.16.y

- fix bootsplash on 5.16.y

* rk322x: advance current to 5.15 and edge to 5.16

* rockchip: advance current kernel to 5.15, edge to 5.16

* - adjust configs
- fix bootsplash patches
- adjust aufs

* Switch sunxi / sunxi64 current to 5.15.y, edge to 5.16.y

- cleanup bootsplash patches
- adjust configs

* Update mvebu64

Co-authored-by: Paolo Sabatino <paolo.sabatino@gmail.com>
2022-02-10 20:32:58 +01:00
Oleg
a3fd209abe
fix extlinux.conf (#3468) 2022-02-10 15:02:09 +01:00
Igor Pečovnik
38e496ccee
Change RC folder caps 2022-02-09 14:20:27 +01:00
iav
4034a8f535
switch RTL8188EU USB WiFi driver with 5.15+ kernel to mainline (#3464)
https://www.phoronix.com/scan.php?page=news_item&px=Linux-5.15-Staging
2022-02-07 09:52:39 +01:00
The-going
990798c3fb
Patching sunxi 5.15 (#3460)
* Remove an aged patch from use #3443

Allwinner-Add-frame-inversion-to-correct-audio-chann.patch

* Rename and prepare for the series 5.15

* Split and rename files for sun50i-h616-dtsi

* Split and rename files for sunxi overlays

* Remove mutually exclusive patches

* Add fifty redesigned patches to the series

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

* Remove fifty-four old patches

* Fix compile error

* Delete unused ones and sort if possible for megous series

* sunxi-5.15: Sort, fix compile warning, remove unused

* Rework print log for patching
2022-02-05 21:53:26 +01:00
Igor Pecovnik
dc9722b535
During a build display mirror server where kernel sources are comming from 2022-02-03 13:35:57 +01:00
Igor Pečovnik
26cef397c0
Add switch to skip image creation if it already exists (#3454)
* Move artefact creation directory into from deboostrap into configuration

This is needed to support function of early checking for artefacts. Useful for CI

* Introduce IMAGE_PRESENT parameter which we can use when creating a lot of images so we don't need to recreate whole CI if one image fails
2022-02-02 20:54:42 +01:00
csrbzhb
367280b10d
fix github mirror.china github speed up (#3451) 2022-02-02 10:55:01 +01:00
Oleg
e7267c3fee
new module list generation function for Initramfs (#3447)
* new module list generation function for Initramfs

* fix

Co-authored-by: Igor Pečovnik <igorpecovnik@users.noreply.github.com>
2022-02-02 10:50:50 +01:00
Oleg
365c5b6e4a
fix start Jetson Nano kernel legacy USB media (#3452) 2022-02-02 10:49:20 +01:00
Igor Pecovnik
21a4908f15
Force cache rebuild 2022-02-01 12:46:09 +01:00
Igor Pečovnik
d4ee87852c
Add option to override default ubuntu arhive (#3446) 2022-01-30 23:10:51 +01:00
The-going
d885bfc97d
Patching sunxi (#3445)
* waiter_local_repo: Fixed incomplete logic

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

* A series of patches for sunxi v5.15.16

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

* DEBUG

* check 70

* check 101

* Add 101 Armbian patches as series

Patches are renamed using the logic of the file structure
and the essence of the changes, sorted in the order
of their receipt. Fixed a lot of incorrect overlay
of some pieces in patches. Several small patches are
combined, because they changed one file.

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

* Remove old patches that have been reworked into a series

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

* Fix for apply to v5.15.17

* Two Bluetooth-BTRTL patches for sunxi will be applied in the series.

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

* check 113

* Fix print output

* Revert "DEBUG"

This reverts commit 49e2c7fdc0.
2022-01-28 19:08:04 +01:00
Igor Pečovnik
72e8fc7d36
Improve cache creation process by removing /root and /home to be syched (#3439) 2022-01-26 12:48:13 +01:00
Igor Pecovnik
e7962bb2b5
Bugfix - cleaning package list
Prevent problems with "File has unexpected size" when we hit repo synch between builds
2022-01-23 11:15:18 +01:00
Oleg
e4c3b9916c
fix bootsplash and move set PKG_PREFIX to arm64.conf (#3410) 2022-01-22 19:49:06 +01:00
Igor Pečovnik
1b18df3c83
Remove deprecated library from Dockerfile (#3420)
* Update Dockerfile
* Remove zlib1g:i386 from general.sh as well
2022-01-22 06:04:41 +01:00
Igor Pečovnik
af7bbccf06
Bump with cache rootfs version to force reload (#3417)
Mitigating debootstrap bug.
2022-01-20 14:46:21 +01:00
Igor Pečovnik
dc027bf8be
Bugfix - remove refference to aptly repostiry since it went offline (#3416)
Ubuntu from 21.10 packs the same version.
2022-01-20 14:44:27 +01:00
The-going
8331e8b9dc
Add initial series patches for sunxi-5.16 (#3392)
* Add initial series patches for sunxi-5.16

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

* Now all patches are applied to the v5.16 kernel without errors

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

* Handle an exception if the initial tag is the top of the branch.

Remove the handling of the old exception.

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

* sunxi64_common.inc: Fix for 5.16

* sunxi-common.inc: Fix for 5.16

* Revert debug for EDGE: KERNEL_VERSION_LEVEL to "5.15"

* Add new patches from megous and switch to v5.16.1

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

* waiter_local_repo: Fixed comment

Signed-off-by: The-going <48602507+The-going@users.noreply.github.com>
2022-01-17 14:19:53 +01:00
The-going
4a5ed695a7
Bugfix. Create a directory for the build environment cache (#3404) 2022-01-16 14:52:23 +01:00
The-going
e4e4ab0791 install_pkg_deb: Fix the logic of selecting updates
Signed-off-by: The-going <48602507+The-going@users.noreply.github.com>
2022-01-13 11:33:35 +03:00
Igor Pečovnik
0344d20c15
Support for multi source download when using https protocol (#3306)
* Bugfix - toolchain download only from a single source

* - replaced hardcoded continent value with dynamic
- set https download as default since its downloading from multiple closest servers by default
2022-01-12 07:49:58 +01:00
Vyacheslav
1e1018eeac
Fix install basic packages without sudo (#3393) 2022-01-11 11:36:25 +01:00
Vyacheslav
5bfa587727
Fix branch for linux-firmware from master to main (#3390) 2022-01-10 15:44:23 +01:00
The-going
3083038855
install_pkg_deb: Not updated every time the function is called. (#3385) 2022-01-08 09:59:06 +01:00
Igor Pečovnik
310495ddf1
Refactor armbian-bsp-cli package creation (#3378)
* Refactor armbian-bsp-cli package creation

- added general distro status for all in separate file inside BSP
- remove branch and distro specifics

* Looking for prebuild pack

* Small fixes
2022-01-06 11:50:24 +01:00
The-going
028256735d
prepare_host: Installing packages with the install_pkg_deb function (#3374)
* separate joint and own lists for architecture

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

* Remove duplicate selection

* Final add Installing build dependencies

* libncurses: Do not use transitional package

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

* add arch i386: Remove duplicate selection

* lib32ncurses-dev: Dependency only for amd64

* install_pkg_deb: parameter verbose to log
2022-01-05 17:55:22 +01:00