Jump to content

Andrea

Members
  • Posts

    28
  • Joined

  • Last visited

Everything posted by Andrea

  1. Found out that additional packages to install can be added setting the environment variable PACKAGE_LIST_BOARD in the compile.sh call. Thanks anyway! Kind regards, Andrea
  2. Hi all, I need to add some packages to Armbian in the build phase. I tried two ways, both failed: 1. Had run through docs (https://docs.armbian.com/Developer-Guide_User-Configurations/), and the suggestion is to add a var PACKAGE_LIST_ADDITIONAL in userpatches/lib.config PACKAGE_LIST_ADDITIONAL="$PACKAGE_LIST_ADDITIONAL watchdog modemmanager iptables iptables-persistent dnsmasq bridge-utils iproute2 openvpn" Building the image I get the following error: [🌱] Using user configuration override [ /home/andrea/armbian/build/userpatches/lib.config ] /home/andrea/armbian/build/userpatches/lib.config: line 1: PACKAGE_LIST_ADDITIONAL: readonly variable [πŸ’₯] Exiting with error 1 [ at /home/andrea/armbian/build/userpatches/lib.config:1 source() --> userpatches/lib.config:1 do_extra_configuration() --> lib/functions/configuration/main-config.sh:352 do_with_logging() --> lib/functions/logging/section-logging.sh:81 do_with_conditional_logging() --> lib/functions/logging/section-logging.sh:111 prep_conf_main_build_single() --> lib/functions/main/config-prepare.sh:34 cli_standard_build_run() --> lib/functions/cli/cli-build.sh:22 armbian_cli_run_command() --> lib/functions/cli/utils-cli.sh:136 cli_entrypoint() --> lib/functions/cli/entrypoint.sh:176 main() --> compile.sh:50 ] [πŸ’₯] Cleaning up [ please wait for cleanups to finish ] 2. Customizing userpatches/customize-image.sh: Added the following lines to the aforementioned file: CUST_PACKAGES="watchdog modemmanager iptables iptables-persistent dnsmasq bridge-utils iproute2 openvpn" apt-get install -yy $CUST_PACKAGES |& tee -a $DEST/${LOG_SUBPATH}/custom.log The build completes, but packages aren't added as the logging prevents the build to fail. Anyway the following info messages are displayed during the build: [πŸ”¨] Reading package lists... [πŸ”¨] Building dependency tree... [πŸ”¨] Reading state information... [πŸ”¨] Package modemmanager is not available, but is referred to by another package. [πŸ”¨] This may mean that the package is missing, has been obsoleted, or [πŸ”¨] is only available from another source [πŸ”¨] [πŸ”¨] Package iptables is not available, but is referred to by another package. [πŸ”¨] This may mean that the package is missing, has been obsoleted, or [πŸ”¨] is only available from another source [πŸ”¨] However the following packages replace it: [πŸ”¨] libxtables12 [πŸ”¨] [πŸ”¨] E: Unable to locate package watchdog [πŸ”¨] E: Package 'modemmanager' has no installation candidate [πŸ”¨] E: Package 'iptables' has no installation candidate [πŸ”¨] E: Unable to locate package iptables-persistent [πŸ”¨] E: Unable to locate package dnsmasq [πŸ”¨] E: Unable to locate package openvpn Can you suggest a suitable way to add packages to the build? Thanks very much in advance, kind regards Andrea
Γ—
Γ—
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines