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.

How to make/use local cache for build image

Featured Replies

I am trying to build an image for both the Orange Pi PC and One

I am on a slow cellular network and pay by the gigabyte for access.

 

Is there a way to cache the packages for: Installing base system [ Stage 1/2 ] ,  and all the rest?

 

Each time I try a compile.sh it take hours to re-download the whole set of packages, because the there is almost always at least a few packages that could not be fetched due to network errors, then they are unpacked and a corrupt tar image is saved and the packages are removed. If I save the create_rootfs_cache file with the missing packages, it does not try to reload them, it just errors out cause they are missing.

 

I am building in a Ubuntu 14.04 VM on a Ubuntu 15.04 host. I have trird various things in compile.sh, currently it is:

BOARD=orangepione
PROGRESS_DISPLAY=plain
PROGRESS_LOG_TO_FILE=yes
RELEASE=jessie
BRANCH=default
NO_APT_CACHER=yes   

And this last attempt my  userpatches/lib.config contains only:
DEBIAN_MIRROR="ftp.tw.debian.org/debian/"
because I am in the Philippines.
 

Larry

Edit: And this pass failed to after 2 hours;

I: Retrieving zlib1g 1:1.2.8.dfsg-2+b1
I: Validating zlib1g 1:1.2.8.dfsg-2+b1
E: Couldn't download packages: libpipeline1
cp: cannot create regular file ‘/home/larryl/armbian/output/cache/sdcard/usr/bin/’: No such file or directory
[ o.k. ] Installing base system [ Stage 2/2 ]
chroot: failed to run command ‘/bin/bash’: No such file or directory
[ error ] ERROR in function create_rootfs_cache [ debootstrap-ng.sh:163 ]
[ error ] Debootstrap base system second stage failed 
[ o.k. ] Process terminated 

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.