Skip to content

Commit

Permalink
Fixes for armbian changes
Browse files Browse the repository at this point in the history
  • Loading branch information
Evil Azrael committed Aug 4, 2024
1 parent 84b1df7 commit 82832dc
Show file tree
Hide file tree
Showing 4 changed files with 18 additions and 9 deletions.
12 changes: 6 additions & 6 deletions config/boards/artilleryx4-emmc.conf
Original file line number Diff line number Diff line change
Expand Up @@ -34,13 +34,13 @@ PACKAGE_LIST_BOARD="xterm file iotop-c i2c-tools spi-tools"
PACKAGE_LIST_BOARD_REMOVE="linux-dtb-current-rockchip64"
REPOSITORY_INSTALL="armbian-config armbian-firmware"
INSTALL_HEADERS="yes" # install kernel headers package

NETWORKING_STACK="network-manager"

function post_family_tweaks__artillerxy_some_tweaks() {
display_alert "$BOARD" "Disabling ramlog" "info"
chroot_sdcard systemctl disable armbian-ramlog

display_alert "$BOARD" "Disabling default device trees" "info"
display_alert "${BOARD}" "Disabling default device trees" "info"
chroot_sdcard apt-mark hold linux-dtb-current-rockchip64
return 0

display_alert "${BOARD}" "Disabling resizing filesyste on first boot" "info"
chroot_sdcard touch /root/.no_rootfs_resize
return 0
}
7 changes: 4 additions & 3 deletions config/boards/artilleryx4.conf
Original file line number Diff line number Diff line change
Expand Up @@ -34,12 +34,13 @@ PACKAGE_LIST_BOARD="xterm file iotop-c i2c-tools spi-tools"
PACKAGE_LIST_BOARD_REMOVE="linux-dtb-current-rockchip64"
REPOSITORY_INSTALL="armbian-config armbian-firmware"
INSTALL_HEADERS="yes" # install kernel headers package
NETWORKING_STACK="network-manager"

function post_family_tweaks__artillerxy_some_tweaks() {
display_alert "$BOARD" "Disabling ramlog" "info"
chroot_sdcard systemctl disable armbian-ramlog
display_alert "${BOARD}" "Disabling ramlog" "info"
chroot_sdcard systemctl mask armbian-ramlog

display_alert "$BOARD" "Disabling default device trees" "info"
display_alert "${BOARD}" "Disabling default device trees" "info"
chroot_sdcard apt-mark hold linux-dtb-current-rockchip64
return 0
}
5 changes: 5 additions & 0 deletions config/cli/common/main/packages
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
alsa-utils
bash-completion
bc
chrony

console-setup
cron
curl
Expand All @@ -27,6 +29,8 @@ man-db
mmc-utils
ncurses-term
nano
netplan.io
network-manager
openssh-server
parted
psmisc
Expand All @@ -38,6 +42,7 @@ toilet
tzdata
u-boot-tools
usbutils
vlan
wget
wireless-tools
wireguard-tools
Expand Down
3 changes: 3 additions & 0 deletions config/cli/common/main/packages.additional
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,12 @@ flex
git
gpiod
gnupg2
haveged
hdparm
htop
html2text
i2c-tools
ifenslave
iotop
iperf3
iptables
Expand All @@ -50,6 +52,7 @@ screen
software-properties-common
smartmontools
stress
sudo
sysfsutils
sysstat
unattended-upgrades
Expand Down

0 comments on commit 82832dc

Please sign in to comment.