Apk world file?

3 posts / 0 new
Last post
#1 Sat, 2017-02-04 14:14
mrgreen
  • mrgreen's picture
  • Offline
  • Last seen: 9 months 2 weeks ago
  • Joined: 2015-07-08

Can someone explain to me /etc/apk/world file? or somewhere that I can read up on it. My problem is while building a custom iso I need to figure out what to add to file. My first thought was to add all the applications packages I need to it, things like alpine-desktop work but then other packages complain (for example wpa_supplicant).

Thanks in advance

Sun, 2017-02-26 23:53
NuSkool
  • NuSkool's picture
  • Offline
  • Last seen: 4 months 2 weeks ago
  • Joined: 2017-02-26

I just ran a test in my vbox x86 install. Based on what I found, I think the /etc/apk/world file is a list of packages installed, on top of the base packages. My vbox install did not have wpa_supplicant installed. It was not listed in /etc/apk/world. I installed wpa_supplicant, then rechecked /etc/apk/world.

It was added to /etc/apk/world after installing wpa_supplicant.

Do you have the community repo un-commented in your /etc/apk/repositories? I had to uncomment it in my install.

Quote: "Any packages you add to /etc/apk/world of your lbu will automatically be installed onto the live system image."
Source: https://wiki.alpinelinux.org/wiki/How_to_make_a_custom_ISO_image#Live_Disk_Setup_with_APKOVL

Mon, 2017-02-27 08:19
mrgreen
  • mrgreen's picture
  • Offline
  • Last seen: 9 months 2 weeks ago
  • Joined: 2015-07-08

I have added wireless-tools to world file and wpa_supplicant, the latter is installed but do not think its required deps are. Am getting to the point of simply adding all extra packages to world file for loading live. Community repo is enabled. Cannot understand why you would add apks then not load them at boot, makes no sense at all.

Log in or register to post comments