Skip to content
View in the app

A better way to browse. Learn more.

Armbian Community Forums

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

[Armbian build PR] - Fix the builddeb script so linux-image upgrades work correctly

Featured Replies

Fix the builddeb script so linux-image upgrades work correctly on fat /boot partitions.

Currently the postinst file that is created has the following contents: ... ln -sf vmlinuz-6.0.10-meson64 /boot/Image 2> /dev/null || mv /boot/vmlinuz-6.0.10-meson64 /boot/Image touch /boot/.next

mkimage -A arm64 -O linux -T kernel -C none -a 0x1080000 -e 0x1080000 -n "Linux" -d /boot/vmlinuz-6.0.10-meson64 /boot/uImage > /dev/null 2>&1 exit 0 ...

In the first line on a fat filesystem the mv command leaves the system without a file named 'vmlinuz...'. The following mkimage command is looking for the vmlinuz... file that is no longer there and fails. This fix changes the 'mv' to a 'cp' so that the files in the directory are the same regardless of the type of partition (i.e. the softlink in the ext4 case leaves both objects and the fat case now leaves both objects as well, at the cost of disk space)

With this fix the amlogic tv box builds can now upgrade to the latest community build kernels without errors.

Changes to be committed: modified: packages/armbian/builddeb

Description

How Has This Been Tested?

Please describe the tests that you ran to verify your changes. Please also note any relevant details for your test configuration.

  • [x] Local build and tested on both an s905w and s905x2 based amlogic TV box
  • [ ] Test B

Checklist:

  • [ ] My code follows the style guidelines of this project
  • [ ] I have performed a self-review of my own code
  • [ ] I have commented my code, particularly in hard-to-understand areas
  • [ ] I have made corresponding changes to the documentation
  • [ ] My changes generate no new warnings
  • [ ] Any dependent changes have been merged and published in downstream modules

View the full article

Guest
This topic is now closed to further replies.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.