Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
SUSE:SLE-12-SP5:GA
SLES12-SP4-EC2-HVM-BYOS
images.sh
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File images.sh of Package SLES12-SP4-EC2-HVM-BYOS
#!/bin/bash export LANG=C echo "Cleaning zypper log" [ -e /var/log/zypper.log ] && echo -n > /var/log/zypper.log echo "Clearing unique ids" rm -fv /var/lib/dbus/machine-id rm -fv /var/lib/zypp/AnonymousUniqueId echo "Rebuilding rpm database" rpm --rebuilddb echo "Cleaning kiwi files in image" rm -rfv /etc/ImageVersion rm -rfv /base-system rm -rfv /var/cache/kiwi rm -rfv /var/lib/dpkg # These two lines must be together; otherwise things will break # Use the udev device list as our device list rm -rfv /dev/* cp -av /lib/udev/devices/* /dev/ 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