Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
SUSE:SLE-12-SP5:GA
shim.1095
pack-binary.sh
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File pack-binary.sh of Package shim.1095
#!/bin/bash -e if [ $# -ne 2 ]; then echo "Usage: $0 <shim.rpm> <prefix>" echo "ex: $0 shim-0.9-18.9.x86_64.rpm sle12-sp1" exit 1 fi RPM=$1 PREFIX=$2 if [ ! -e $RPM ]; then echo "$RPM doesn't exist" exit 1 fi VERSION=`echo $RPM | cut -d '-' -f 2` WORK_DIR=`mktemp -d` cp $RPM $WORK_DIR pushd $WORK_DIR unrpm $RPM tar jcvf ${PREFIX}-update-${VERSION}.tar.bz2 etc/uefi/ usr/lib64/ popd mv ${WORK_DIR}/${PREFIX}-update-${VERSION}.tar.bz2 . rm -rf ${WORK_DIR}
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