Armbian Build Stretch/Buster does not install additional packages

Recommended Posts

I'm running an armbian build under docker (Host = Linux Mint or Ubuntu Bionic).

I ran 

git clone --depth 1 https://github.com/armbian/build

The problem is, in my customize-image.sh script I'm trying to build something that needs to have a package installed before.


My lib.config looks like this:


display_alert "Adding additional packages" "PHP 7, Redis, udisk2, dnsmasq, python3, ..." "info"

PACKAGE_LIST_ADDITIONAL="$PACKAGE_LIST_ADDITIONAL php7.0 php7.0-cli php7.0-fpm php7.0-curl php7.0-intl php7.0-redis php7.0-mbstring"
PACKAGE_LIST_ADDITIONAL="$PACKAGE_LIST_ADDITIONAL redis-server udisks2 task-print-server dnsmasq"
PACKAGE_LIST_ADDITIONAL="$PACKAGE_LIST_ADDITIONAL libcups2-dev python-pip python3-dev python3-pip libsodium-dev libffi-dev"

# lib bluetooth for bdaddr script
[[ $BOARD == "orangepizeroplus2-h3" ]] && PACKAGE_LIST_ADDITIONAL="$PACKAGE_LIST_ADDITIONAL bluez bluez-tools libbluetooth-dev"

I get to see the alert output. But the packages are never installed, I don't see them on the screen. Another hint that they are not installed is that my customize script relies on libbluetooth-dev to be installed. And it fails (most probably because libbluetooth-dev is missing).


I also don't see other packages like hostapd, git, ethtool, network-manager being installed that are in the base additional package list.

The output at that point is:

htop is already the newest version (2.2.0-1+b1).
mmc-utils is already the newest version (0+git20180327.b4fe0c8c-1).
sunxi-tools is already the newest version (1.4.2+git20181114.6d598a-3).
hostapd is already the newest version (3:2.7-99~armbian5.86+1).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

Obiously it reads the PACKAGE_LIST_ADDITIONAL variable, but my additional packages are nowhere...


There is another problem with buster:

I get the output "qemu: Unsupported syscall: 382" in my customize-configuration.sh

Share this post

Link to post
Share on other sites
Want Armbian t-shirt or a cup?

I've attached the output.log

It says:

Displaying message: Checking for local cache buster-cli-armhf.e51...09a.tar.lz4 info
Displaying message: searching on servers


and then:

Extracting ...


So .. no, the new cache image is not made.


How can I enforce this?



Share this post

Link to post
Share on other sites
5 hours ago, maracuja said:

So .. no, the new cache image is not made.


How can I enforce this?

Something is wrong. ... lib.config is read, but packages hash - getting unique cache name - is not done properly. When you add packages, hash should change and image should be debootstrapped from scratch. I will try to find & fix this in the morning unless someone else have more time to dig in.

Share this post

Link to post
Share on other sites

Thank you.

I'm in the build process right now. It seems to work, the process is installing a bunch of packages.

Share this post

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.