File config-overlay.sh of Package delta_home_solar

#!/bin/bash

set -ex

# Create example flake config to be displayed with:
# flake-ctl podman register --container solar --info
cat >/solar.yaml <<-EOF
include:
  tar: ~
container:
  name: solar
  target_app_path: /usr/bin/solar
  host_app_path: /usr/share/flakes/bin/solar
  base_container: suse-apps/basesystem
  layers: ~
  runtime:
    runas: root
    resume: false
    attach: false
    podman:
      - "-ti"
      - "--rm"
      - "--net host"
EOF

# Data which is unwanted in the delta container
#
# Please be aware that arbitrary data deletion is
# detected by KIWI and put into the /removed file
# Some paths are excluded from this detection,
# the location of the rpm database is one of them
#
# Thus deletions of files in delta containers should
# be handled with care and avoided when possible.
# Reason for the deletion here is saving space
rm -rf /usr/lib/sysimage/rpm
rm -rf /var/log
openSUSE Build Service is sponsored by