Commit Graph

1210 Commits

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