Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Factory
busybox-image
config.sh
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File config.sh of Package busybox-image
#!/bin/sh # SPDX-License-Identifier: MIT # SPDX-FileCopyrightText: (c) 2022-2024 SUSE LLC set -euo pipefail test -f /.kconfig && . /.kconfig test -f /.profile && . /.profile echo "Configure image: [$kiwi_iname]..." #============================================ # Import repositories' keys if rpm is present #-------------------------------------------- if command -v rpm > /dev/null; then suseImportBuildKey fi sed -i 's|/bin/bash|/bin/sh|' /etc/passwd # Will be recreated by the next rpm(1) run as root user rm -v /usr/lib/sysimage/rpm/Index.db #======================================= # Clean up after zypper if it is present #--------------------------------------- if command -v zypper > /dev/null; then zypper -n clean fi rm -rf {/target,}/var/log/{alternatives.log,lastlog,tallylog,zypper.log,zypp/history,YaST2} exit 0
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor