Commit Graph

1184 Commits

Author SHA1 Message Date
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