Commit Graph

1264 Commits

Author SHA1 Message Date
Ivan Podogov
2a766ce0ad Fix wireless modules indentation warnings 2023-02-03 21:37:07 +00:00
M. Efe Çetin
5c487194e0
Split wireless VFS patches (#4775) 2023-02-03 10:03:11 +01:00
Paolo
e9fa7caa6c
sunxi64: fix uwe5622 compile on current 5.15 kernel (#4772) 2023-01-31 17:39:26 +01:00
Paolo
79019296d8
rockchip64: consolidation for uwe5622 driver, v6.1 kernel compatibility (#4766) 2023-01-30 17:28:37 +01:00
Vyacheslav
3e6188f5ed
[AR-1527] Remove unnecessary patches for rtl8822cs (#4768) 2023-01-30 17:28:23 +01:00
M. Efe Çetin
411b607e46
Add some Wireless modules to RK3588 legacy kernel (#4759)
* Add some Wireless modules to RK3588 legacy kernel

* Add some Wireless modules to RK3588 legacy kernel

* Add some Wireless modules to RK3588 legacy kernel
2023-01-27 23:19:08 +01:00
Igor Pečovnik
abd16c5b0f
Enable maxium compression on rootfs cache (#4752)
This will be changed in NEXT in any case, but in order to generate (probably last) roofs cache before switch, we need to bump compression to max or files will not go into GH releases.
2023-01-26 10:10:33 +01:00
Konstantin Litvinov
8398dd1116
Added Debian 12 Bookworm. (#4740)
* Added Debian 12 Bookworm.

* Link identical

* Make minimal truly minimal again

Move netplan.io to CLI image only

* Add netplan.io to Bullseye standard CLI

Co-authored-by: Konstantin Litvinov <klitvinov@piesoft.us>
Co-authored-by: Igor <igor@armbian.com>
2023-01-26 10:04:17 +01:00
Markus Hoffrogge
fba71fa703
Extend BUILD_ONLY value to single value "default" (#4519)
* Extend BUILD_ONLY value to single value "any"

- build-tasks.sh:
  - build_task_is_enabled():
    - handle value "any" adequate to logic for empty string
  - build_validate_buildOnly():
    - handle value "any" adequate to logic for empty string
    - add specific error message in case "any" appears in a list of task names
  - add function build_only_value_for_kernel_only_build():
    - provide a constant list of task names for kernel only package build
      supposed to be used unique at several places
  - backward_compatibility_build_only():
    - propagate KERNEL_ONLY="no" to BUILD_ONLY="any"
    - propagate KERNEL_ONLY="yes" to BUILD_ONLY="$(build_only_value_for_kernel_only_build)"
    - update log messages accordingly

- interactive.sh:
  - re-factor interactive_config_ask_kernel_only()
    -> interactive_config_ask_build_only()
  - interactive_config_ask_build_only():
    - provide three pre-defined choices:
      - "u-boot" - "U-boot package only"
      - "$(build_only_value_for_kernel_only_build)" - "U-boot and kernel packages"
      - "any" - "Full OS image for flashing"
  - un-comment call of interactive_config_ask_build_only
    in interactive_config_ask_kernel()

* Extend BUILD_ONLY value to single value "default"

- build-tasks.sh:
  - change BUILD_ONLY setting of "any" to "default"
    to be closer to parallel WIP of #4526

- interactive.sh:
  - interactive_config_ask_build_only():
    - improve menu selection texts for unique quick selection first characters:
      - "u-boot" - "U-boot package only"
      - "$(build_only_value_for_kernel_only_build)" - "Kernel and U-boot packages only"
      - "default" - "Full OS image for flashing"

* Update sequence of BUILD_ONLY selection

- start with default to "Kernel and U-Boot packages only"

Co-authored-by: Igor <igor@armbian.com>
2023-01-22 08:57:50 +01:00
Kirill
e1482b1e9a
Fix uninitialized cfg80211_chan_def for rtlwifi (#4714)
Co-authored-by: Igor Pečovnik <igorpecovnik@users.noreply.github.com>
2023-01-22 08:40:27 +01:00
Igor Pečovnik
6d38906c8d
Move UWE5622 from kernel patches to misc (#4723)
Todo: Compare and unify with the driver that floats in Rockchip patches
2023-01-22 08:40:12 +01:00
Kirill
4c5f202e50
rtlwifi: Fix p2p-go advertising (#4717) 2023-01-20 18:43:53 +01:00
henkiejan1
10e0971c7b
Adding Linux Mint Vera 21.1 as building host (#4699)
* Update prepare-host.sh

* Updated so it´s equal to prepare-host.sh

Made the file as advised equal to prepare-host.sh. There where also some other Ubuntu distributions not added to this file.
2023-01-16 10:33:11 +01:00
The-going
43ac0cc3fd CCACHE_TEMPDIR="/tmp/ccache-tmp" if /tmp is mounted as tmpfs 2023-01-16 10:59:06 +03:00
hzyitc
0b437bfd75
buildscript: Bugfix: handle over-mounted mountpoint (#4660)
Adjust the parameters when calculating the mount point
2023-01-12 13:52:01 +03:00
Ricardo Pardini
0936a4200b
Revert "extrawifi: Clean code (#4636)" (#4667)
This reverts commit 764214156e.

- This needs fixing. many failures
2023-01-08 11:10:21 +01:00
Kirill
ba48245f29
RTL8189FS: Fix P2P-GO advertising (#4661)
* RTL8189FS: fix P2P-GO adverising

* Add patch to drivers_network.sh

Co-authored-by: Igor Pečovnik <igorpecovnik@users.noreply.github.com>
2023-01-07 21:05:30 +01:00
hzyitc
764214156e
extrawifi: Clean code (#4636) 2023-01-07 21:00:29 +01:00
technikian
693ff96248
fixed "unrecognized symbol [[" (#4656)
* fixed "unrecognized symbol [["

the old way caused the compilation to abort with a syntax error.  idk why, but it did, this is how I got it to work.

* fixed syntax error

improvement to previous fix
2023-01-07 20:59:22 +01:00
Kirill
c8c6f91e78
RTL8189FS: Fix and enable secondary iface (wlan1) (#4662)
* RTL8189FS: Fix and enable wlan1

* fix paths in the patch
2023-01-07 20:58:43 +01:00
Igor Pečovnik
b120ddaed0
Enable AUFS on 6.1.y (#4632) 2022-12-31 15:08:38 +01:00
Igor Pečovnik
3ce4b66a3a
Adjust broken bootsplash patchset (#4630) 2022-12-31 15:00:31 +01:00
Igor Pečovnik
ff6c515e3f
Add next Ubuntu 23.04 / Lunar lobster (#4625) 2022-12-30 20:59:35 +01:00
The-going
36d9420d65
Fix issues 4589 (#4614)
* Fix: Install dependencies if we install kernel headers

* DEBUG builddeb for armhf

* Remove DEBUG echo
2022-12-26 21:12:34 +03:00
Igor Pečovnik
84ca39c83c
Moving repository handling from main script (#4600)
* Moving repository handling from main script

- cleaning
- working

TBD: handling of parameters

* Not needed anymore

* Paramter handling, edit config in mktemp

* Typo

* Improve string handling

* Cleanining

* Compacting

* Change to backslash compatible sed replacement

* Publish all, update selected to avoid having erros at update

* Add support for html index generation

* Bugfix

* More arch

* Don't run publish if there is nothing in the incoming

* Add repo sync control file creation

* Fix hardcoded value
2022-12-23 21:58:06 +01:00
Igor Pečovnik
b9b8912de0
Bump rockchip64 EDGE to 6.1 with disabling few drivers (#4570)
* Bump rockchip64 EDGE to 6.1 with disabling few drivers

Broken fsusb30, uwe5662, lps170, simple panel ...

* Fix Rpi4 from not generating DT
2022-12-14 16:44:53 +01:00
Igor Pečovnik
c0001d566b
Bump bcm, imx, mvebu64 and xu4 EDGE to 6.1.y (#4560)
* Bump bcm, imx, mvebu64, xu4 and rockchip to 6.1.y

* Add configs for imx6 and xu4

* Add broadcom kernel config

* Move XU4 edge to mainline kernel as hardkernel branch contain nothing for it

* Move Rockchip64 EDGE to 6.1

* Move rockchip (32 bit) edge to kernel 6.1

* Move rk322x edge kernel to 6.1

Co-authored-by: Paolo Sabatino <paolo.sabatino@gmail.com>
2022-12-14 01:43:31 +01:00
Igor Pečovnik
6e4ad5aa1f
Switch to better working rtl88x2bu wifi driver (#4552) 2022-12-14 01:43:00 +01:00
Igor Pečovnik
a3a5d44c8e
Adjust 3rd party drivers for kernel 6.1.y (#4558)
* Disable kernel bootsplash. We don't use it anymore and its time to go rest

* Switch to more recent commits

* Fix remaining drivers and fix shellcheck errors
2022-12-13 14:43:54 +01:00
The-going
6146943c83
The choice for kernel headers if the version is more than 5.19. (#4518)
* The choice for kernel headers if the version is more than 5.19.

* Depends: Add linux-base for build kernel
2022-12-12 21:21:07 +03:00
Igor Pečovnik
568ff6c011
When adding PPA, we need to run apt update before installing dependencies (#4527) 2022-12-06 09:47:45 +01:00
Igor Pečovnik
424ac69206
Change text on interactive menu (#4522)
* Change text on interactive menu
2022-12-05 20:20:07 +01:00
swordow
d023849528
mod: separate some network driver patchs (#4498) 2022-11-29 19:48:15 +01:00
Ash
408bc67619
Add shebangs for shellcheck (#4493)
* Add shebangs for shellcheck

See #AR-1406

* Add shebangs for shellcheck

Also for `extensions` scripts
2022-11-27 21:44:50 +01:00
Markus Hoffrogge
950c659a4a
Add option BUILD_ONLY to the build compile scripts (#4455)
* Rename default-build.sh -> build-tasks.sh

This commit is just a file rename without any
further code change before this script will be
refactored to improve build task structure
for partial building.

Refers to #4421

* Prepare build-tasks.sh for moving each build step to a dedicated function

This commit is an intermediate update to reflect
NO functional code changes of the particular
build steps before moving the unmodified code
into the appropriate function by copy/paste.
Only build_get_boot_sources() has slightly changed
to an appropriate if / fi structure.
Note: This .sh file is bash syntactically not correct.
The purpose of this commit is to leverage code review.

Refers to #4421

* Update build-tasks.sh function do_default() for filtered function calls

Function do_default():
  - Add $1 function parameter for filtering build tasks
    and assign this to local variable $_buildOnly
  - move "pseudo inline"-functions to the beginning of the script
  - replace the "inline functions" by filtered function calls
  - add BUILD_ONLY variable to the build epilog print

Refers to #4421

* Complete refactoring of build-tasks.sh for BUILD_ONLY support

- update indentation of functions build_get_boot_sources()
  and build_get_kernel_sources() to meet code style
- rename original function do_default() -> build_main()
- create new do_default() for backward compatibility and
  comment this one as deprecated
- call build_main "" from this deprecated do_default()
- cli-entrypoint.sh:
  - update call of do_default by build_main "${BUILD_ONLY}"

closes #4421

* Print final runtime as min:seconds

As with filtered build runtimes
may get below a minute, we would like
to get the runtime printed with seconds.

* Delete duplicate messages

* Fix the confusion of the choice of building the kernel

* Fix a typo in comment on do_default()

* Backward compatibility of KERNEL_ONLY and new BUILD_ONLY keys.

* interactive_config: replace KERNEL_ONLY on BUILD_ONLY

* Fix: Correct verification when an image is created

* Abort with error if BUILD_ONLY contains invalid build task names

- add function build_validate_buildOnly()
- call this function from build_main
- fix position of KERNEL_ONLY / BUILD_ONLY contradiction message
  (did log empty _buildOnly content all time)
- improve local variable names

* Improve final error message to list valid BUILD_ONLY task names

* Improve error message logging

- collect multiple invalid BUILD_ONLY task names in a single error message
- log final message for valid BUILD_ONLY task names on ext level
- simple exit with exit code 1 in case of error

* The RELEASE variable cannot be empty.

Additional conditions for checking RELEASE are unacceptable.

* Fix build_main() to use BUILD_ONLY inside instead of local var set from parameter $1

- build-tasks.sh:
  - build_main():
    - don't take parameter $1
    - replace usage of $_buildOnly by $BUILD_ONLY
    - added info messages on KERNEL_ONLY cases in case BUILD_ONLY was propagated
  - build_validate_buildOnly():
    - remove parameter $2
    - assign _buildOnly from global BUILD_ONLY accordingly
- cli-entrypoint.sh:
  - call build_main without parameter

* Choosing interactive_config if the goal is bootstrap

* fix: order of selection backward_compatibility_build_only

* Update function comments to match current state

- removed obsolete parameter of build_main call do_default()
- replaced :space: by :comma: in _kernel_buildOnly
  to leverage copy / paste for final repeatable command line
  printed after build

* Improve logic coding to filter build tasks

- build-tasks.sh:
  - added functions:
    - build_task_is_enabled()
    - build_task_one_of_is_enabled()
    - build_task_each_of_is_enabled()
  - updated existing build task filter logic
    to use function build_task_is_enabled
- config-prepare.sh, prepare-host.sh:
  - replaced existing build task filter logic
    to use function build_task_is_enabled

* Remove unused functions

- remove function build_task_one_of_is_enabled()
  and build_task_each_of_is_enabled()
  according to code review

Co-authored-by: The-going <48602507+The-going@users.noreply.github.com>
2022-11-27 00:05:46 +01:00
Igor Pečovnik
332a558228
When using PPA sources we need to run install_ppa_prerequisites (#4464) 2022-11-19 08:08:14 +01:00
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