Manually editing a existing apkovl

From Alpine Linux
Revision as of 14:18, 28 June 2021 by Bt129 (talk | contribs)

You might end up in a situation when you find it necessary to edit an apkovl (without having to boot a box using the apkovl itself).

Unpack the apkovl

Unpack the apkovl into a temp dir.

mkdir /tmp/testbox tar -xvzf testbox.apkovl.tar.gz -C /tmp/testbox/

Make your modifications

Do your modifications in '/tmp/testbox/'

  • Edit files/folders
  • Add files/folders
  • Remove files/folders
  • etc.

Pack the apkovl

When your modifications are done, you should pack your apkovl

cd /tmp/testbox tar -czf /tmp/testbox.apkovl.tar.gz *

Replace the original apkovl

You now have a new/modified apkovl.
Replace your original apkovl (on your media) with '/tmp/testbox.apkovl.tar.gz' and boot.