Skip to content

Latest commit

 

History

History

old-scripts

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 

Script to create sysext images in squashfs format

This directory contains a script microos-sysext.sh which creates sysext images in squashfs format by unpacking the RPMs.

Workflow:

  • Download all RPMs for the MicroOS basesystem pattern
  • Download all RPMs required for a package in a second directory
    • Remove all RPMs of the basesystem pattern from it
    • Unpack the remaining RPMs
    • Create a squashfs image from it

How to use

  • Edit the list of packages in the script, for which a sysext image should be build
  • Run microos-sysext.sh, the images will be in the store directory

Open Issues

  • Needs to run as root
  • Since the suggests of the base pattern are not used for the second directory, the solver can make different choices (e.g. libz1 vs. libz-ng-compat1). Use a solution with overlay for this
  • SELinux labels are missing