Skip to content

Commit

Permalink
correct errors in packaging
Browse files Browse the repository at this point in the history
  • Loading branch information
dealfonso committed Sep 10, 2019
1 parent 45dbd11 commit 1b3b90e
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 8 deletions.
10 changes: 4 additions & 6 deletions minicon.bashcbuild
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
PACKAGE=minicon
VERSION=1.4
VERSION=1.4-2
SUMMARY="MiniCon - Minimization of Container Filesystems"
LICENSE="Apache 2.0"
URL="https://github.com/grycap/minicon"
Expand All @@ -16,8 +16,6 @@ REQUIRES="bash, jq, tar, coreutils, tar, rsync, file, strace, glibc-common, whic

/usr/share/$PACKAGE/;src/version:LICENSE
/usr/share/$PACKAGE/doc;doc/*.md
/usr/share/man/man1;$TMPDIR/importcon.1.gz;cp doc/man/importcon.1 $TMPDIR;gzip $TMPDIR/importcon.1
/usr/share/man/man1;$TMPDIR/minicon.1.gz;cp doc/man/minicon.1 $TMPDIR;gzip $TMPDIR/minicon.1
/usr/share/man/man1;$TMPDIR/mergecon.1.gz;cp doc/man/mergecon.1 $TMPDIR;gzip $TMPDIR/mergecon.1
/usr/share/man/man1;$TMPDIR/minidock.1.gz;cp doc/man/minidock.1 $TMPDIR;gzip $TMPDIR/minidock.1
/usr/bin/;src/minicon:src/minidock:src/importcon:src/mergecon;bashc -o $SOURCEFOLDER/$FILEPATH -cCSR $SOURCEFOLDER/${FILEPATH}.bashc;chmod +x $SOURCEFOLDER/$FILEPATH
;doc/man/*.1;gzip -fk ${FILEPATH}
/usr/share/man/man1;doc/man/*.gz
/usr/bin/;src/minicon:src/minidock:src/importcon:src/mergecon;bashc -o $SOURCEFOLDER/$FILEPATH -cCR $SOURCEFOLDER/${FILEPATH}.bashc;chmod +x $SOURCEFOLDER/$FILEPATH
2 changes: 1 addition & 1 deletion src/minicon.bashc
Original file line number Diff line number Diff line change
Expand Up @@ -451,7 +451,7 @@ done

if [ "$LDCONFIGFILE" != "" -a -e "$ROOTFS/$LDCONFIGFILE" ]; then
p_debug "creating ldconfig"
TMPFILE=$(tempfile)
TMPFILE=$(bashc.tempfile)
awk '!a[$0]++' "$ROOTFS/$LDCONFIGFILE" > "$TMPFILE"
mv "$TMPFILE" "$ROOTFS/$LDCONFIGFILE"
ldconfig -r "$ROOTFS"
Expand Down
2 changes: 1 addition & 1 deletion src/version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
VERSION=1.4
VERSION=1.4-2

0 comments on commit 1b3b90e

Please sign in to comment.