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] - Make sure the build fails if generating uInitrd fails

Featured Replies

Without this, when mkimage fails (for example because the boot partition is too small), install.log shows an error like:

mkimage: Write only 16310208/17794920 bytes, probably no space left on the device

But this does not terminate the build, so the compile script shows no error and an image is generated, but it is unbootable.

This runs the script with -e, so when mkimage fails, the script fails, which makes update-initramfs fail, which makes the build fail.

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] Build image for Orange Pi PC with BOOTFS_TYPE="fat" and BOOTSIZE="64" to generate a separate boot partition that is just big enough for the regular initrd, but too small to also contain the uInitrd. Check that this build fails.
  • [x] Build same image, but with BOOTSIZE="96" and check that the build completes and starts.

Checklist:

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

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.