Skip to content

Commit

Permalink
Add support for upgrading kernel as pr #54
Browse files Browse the repository at this point in the history
  • Loading branch information
eliasbakken committed Jun 26, 2024
1 parent 53a8770 commit 21b0c48
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
6 changes: 6 additions & 0 deletions armbian/customize-image-barebone.sh
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,12 @@ post_build() {

# Disable the upstream kernel driver for Rexfer/rtw88_rtl8821cu
echo "blacklist rtw88_8821cu" > /etc/modprobe.d/blacklist.conf

# Automatically remount /boot rw when installing packages.
cat > /etc/apt/apt.conf.d/100update <<EOF
DPkg::Pre-Invoke {"mount -o remount,rw /boot";};
DPkg::Post-Invoke {"mount -o remount,ro /boot; /usr/local/bin/update-recore-revision";};
EOF
}

prep_install() {
Expand Down
6 changes: 6 additions & 0 deletions userpatches/overlay/install_components/post_build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -40,4 +40,10 @@ post_build() {

# Disable the upstream kernel driver for Rexfer/rtw88_rtl8821cu
echo "blacklist rtw88_8821cu" > /etc/modprobe.d/blacklist.conf

# Automatically remount /boot rw when installing packages.
cat > /etc/apt/apt.conf.d/100update <<EOF
DPkg::Pre-Invoke {"mount -o remount,rw /boot";};
DPkg::Post-Invoke {"mount -o remount,ro /boot; /usr/local/bin/update-recore-revision";};
EOF
}

0 comments on commit 21b0c48

Please sign in to comment.