Two small bug fixes

- disabling samba on desktop builds since it delays 1st login and throws out an error in case we have no network (laptop usage)
- disabling broken build target
This commit is contained in:
Igor Pecovnik 2021-12-06 15:55:16 +01:00
parent a3db0f4397
commit bddce2c432
No known key found for this signature in database
GPG Key ID: 93D6889F9F0E78D5
2 changed files with 6 additions and 3 deletions

View File

@ -63,7 +63,7 @@ rk322x-box edge jammy cli
# Radxa rock-3a
rock-3a legacy jammy cli beta yes
#rock-3a legacy jammy cli beta yes
# Raspberry Pi4

View File

@ -289,12 +289,12 @@ install_common()
UPSTREM_VER=$(dpkg-deb -f "${SDCARD}"/var/cache/apt/archives/linux-u-boot-${BOARD}-${BRANCH}*_${ARCH}.deb Version)
fi
}
call_extension_method "pre_install_kernel_debs" << 'PRE_INSTALL_KERNEL_DEBS'
*called before installing the Armbian-built kernel deb packages*
It is not too late to `unset KERNELSOURCE` here and avoid kernel install.
PRE_INSTALL_KERNEL_DEBS
# install kernel
[[ -n $KERNELSOURCE ]] && {
if [[ "${REPOSITORY_INSTALL}" != *kernel* ]]; then
@ -446,6 +446,9 @@ FAMILY_TWEAKS
chroot "${SDCARD}" /bin/bash -c "chown root:messagebus /usr/lib/dbus-1.0/dbus-daemon-launch-helper"
chroot "${SDCARD}" /bin/bash -c "chmod u+s /usr/lib/dbus-1.0/dbus-daemon-launch-helper"
# disable sambe since it hangs when no network is present at boot
chroot "${SDCARD}" /bin/bash -c "systemctl --quiet disable smbd 2> /dev/null"
# disable low-level kernel messages for non betas
if [[ -z $BETA ]]; then
sed -i "s/^#kernel.printk*/kernel.printk/" "${SDCARD}"/etc/sysctl.conf