* fixing my bad patch from lastnight.
Removing the bad patch I did last night and fixing it with proper sed commands
* fixing names .
had to fix names in the files
* configuring new settings in slick-greeter
* kbuild: deb-pkg: do not build linux-headers package if CONFIG_MODULES=n
Since commit 269a535ca931 ("modpost: generate vmlinux.symvers and
reuse it for the second modpost"), with CONFIG_MODULES disabled,
"make deb-pkg" (or "make bindeb-pkg") fails with:
find: ‘Module.symvers’: No such file or directory
If CONFIG_MODULES is disabled, it doesn't really make sense to build
the linux-headers package.
Author: Masahiro Yamada <masahiroy@kernel.org>
Date: Wed Oct 14 03:38:19 2020 +0900
Upstream commit bac977cbc0d6731fb8e67c2be0e4acbd959e10b3
Fixes: 269a535ca931 ("modpost: generate vmlinux.symvers and reuse it for the second modpost")
Reported-by: Josh Triplett <josh@joshtriplett.org>
Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
Signed-off-by: The-going <48602507+The-going@users.noreply.github.com>
* mkdebian: fix: build a package for version 5.13
upstream commit 82526ef43399a7556b860538041802042b3872c1
Author: Masahiro Yamada <masahiroy@kernel.org>
Date: Tue Apr 20 02:05:05 2021 +0900
kbuild: deb-pkg: change the source package name to linux-upstream
Change the source package name from 'linux-$(KERNELRELEASE)' to
'linux-upstream'.
Initially, I tried to use 'linux' to be aligned with the Debian
kernel package, but Ben suggested 'linux-upstream' so that it is
clearly distinguished from distribution packages. [1]
The filenames will be changed as follows:
[Before]
linux-5.12.0-rc3+_5.12.0-rc3+-1.dsc
linux-5.12.0-rc3+_5.12.0-rc3+.orig.tar.gz
linux-5.12.0-rc3+_5.12.0-rc3+-1.diff.gz
[After]
linux-upstream_5.12.0-rc3+-1.dsc
linux-upstream_5.12.0-rc3+.orig.tar.gz
linux-upstream_5.12.0-rc3+-1.diff.gz
Commit 3716001bcb7f ("deb-pkg: add source package") introduced
KDEB_SOURCENAME. If you are unhappy with the default name, you can
override it via KDEB_SOURCENAME.
Signed-off-by: The-going <48602507+The-going@users.noreply.github.com>
* Search by template when updating initramfs
Search by pattern first, then use in the command.
If unsuccessful then exit by mistake.
Fix:
depmod: WARNING:
could not open modules.order at /var/tmp/mkinitramfs_bp3vP5/lib/modules/5.13.0-sunxi64:
No such file or directory
could not open modules.builtin at /var/tmp/mkinitramfs_bp3vP5/lib/modules/5.13.0-sunxi64:
No such file or directory
When a valid directory lib/modules/5.13.0-rc6-sunxi64
Or when the user added a localversion to the configuration file
and valid directory lib/modules/5.13.0-rt7-sunxi64
Signed-off-by: The-going <48602507+The-going@users.noreply.github.com>
* Code Cleanup: kernel build: Removing EXTRAVERSION Cleanup
This was intended for the EDGE kernel and is no longer required.
Moreover, this code is not working.
Signed-off-by: The-going <48602507+The-going@users.noreply.github.com>
Add two bash arrays, XTRA_RSYNC_{FROM,TO}, defined in
/etc/default/armbian-ramlog, and expand these in the two rsync
invocations in /usr/lib/armbian/armbian-ramlog.
The use of bash arrays simplifies the use of multiple arguments and also
allows for in-band commentary between array elements.
When expanding, safely test for these arrays to exist. This is, sadly,
a little verbose in bash, so, while here, split the rsync invocations to
use line continuations.
Fixes https://github.com/armbian/build/issues/2846
- When trying to delete by using "backspace", it will also print a "*"
and also appended to password
- When pressing keys too fast, it is possible that some characters
actually printed on the screen
Compiling the kernel headers repeatedly and in a single thread
increased the overall package build time by several times.
Signed-off-by: The-going <48602507+The-going@users.noreply.github.com>
- users are "confused" about manipulating files in their home directories
- introduced security issues which have been worked around but there might be others too
- more recent htop may support network stuff oob (https://armbian.atlassian.net/browse/AR-771?focusedCommentId=10546)
* Rework make linux headers
Signed-off-by: The-going <48602507+The-going@users.noreply.github.com>
* Make linux-source first and clear the memory
Signed-off-by: The-going <48602507+The-going@users.noreply.github.com>
Not touching logic or the (IMO ridiculous) behavior of this script. Just meant as a quick&dirty workaround for the specific sed/symlink attack vector. Check https://github.com/stealth/7350topless for details.
* New build kernel if version ge 5.12
Signed-off-by: The-going <48602507+The-going@users.noreply.github.com>
* Rename packagename for kernel in the armbian style
Signed-off-by: The-going <48602507+The-going@users.noreply.github.com>
* Fix depends pkg for build linux-*
Signed-off-by: The-going <48602507+The-going@users.noreply.github.com>
* Fixed version search by Source field
Signed-off-by: The-going <48602507+The-going@users.noreply.github.com>
* Fix postinst, prerm scripts for headers pkg
Signed-off-by: The-going <48602507+The-going@users.noreply.github.com>
* VENDOR, rock-pi-n10, RM_LIST for armbian-config/zsh
VENDOR parameter in configuration
zsh is the best of course...
Static MAC for networkd
ROCK Pi N10 (Radxa) - Initial support, knwon bugs:
- Problem with poweroff (kernel panic).
- DeviceTree is not fully verified, I suspect missing and unnecessary
entries.
- No support for NPU
- u-boot without NVME support
- I have doubts if I chose the right preboot loader for RK3399Pro, NPU
and installed DDR memory.
* New RK3399Pro boot preloaders.
* rootfs checksum, DEBOOTSTRAP_LIST fix, output.log fix
Repaired checksum for rootfs
Added use PACKAGE_LIST_RM to purge DEBOOTSTRAP_LIST
Better logging to output.log
Fix for new host distribution detection (ie Debian Bullseye).
ubootdebs as new cleaning option
* Update 30-armbian-sysinfo
Fixed alignment of "Local users" and "IP" in third column.
Made it more compact by adding extra new line.
Added "both" traffic direction.
Removed "-h" vnstat argument because it doesn't do anything, changed "last 24h" to "today" (there is only "rx/tx for today" in --oneline output).
* Update armbian-motd.dpkg-dist
Add PRIMARY_DIRECTION description
* Update 30-armbian-sysinfo
fix new line logic
clean-up unused variables
* Re-enable network checksum TX offload on rockchip64 family
* Adjust gmac PBL setting for rk3399 legacy to fix network issues with MTU 1500
* Adjust gmac PBL setting for rk3328 in rockchip64-legacy to fix network issues with MTU 1500
Co-authored-by: Piotr Szczepanik <piter75@gmail.com>
* add Jetson Nano
* Update jetson-nano.conf
* Update targets.conf
* Add better description
* Adjust config - try to enable ZRAM
* Packaging patch not needed
* Extlinux was solved in other commit
* Move board to CSC for now
Co-authored-by: Igor Pečovnik <igorpecovnik@users.noreply.github.com>
Co-authored-by: Igor Pecovnik <igor.pecovnik@gmail.com>