mirror of
https://codeberg.org/kiss-community/repo
synced 2024-08-21 13:46:17 +00:00
puke: simplify manifest.
This commit is contained in:
parent
c94b05c717
commit
f692587946
13
puke
13
puke
|
@ -114,15 +114,10 @@ pkg_build() {
|
||||||
log "Sucessfully built $pkg."
|
log "Sucessfully built $pkg."
|
||||||
}
|
}
|
||||||
|
|
||||||
pkg_manifest() (
|
pkg_manifest() {
|
||||||
cd "$pkg_dir"
|
find "$pkg_dir" -mindepth 1 | sed "s|^$pkg_dir||" | sort -r > manifest
|
||||||
|
cp manifest "$pkg_dir/$dbs_dir/$name"
|
||||||
_() { find . -mindepth 1 "$@" | sed 's/^\.//'; }
|
}
|
||||||
_ -not -type d > "$OLDPWD/manifest"
|
|
||||||
_ -type d | sort -r >> "$OLDPWD/manifest"
|
|
||||||
|
|
||||||
cp "$OLDPWD/manifest" "$pkg_dir/$dbs_dir/$name"
|
|
||||||
)
|
|
||||||
|
|
||||||
pkg_tar() {
|
pkg_tar() {
|
||||||
cd "$bin_dir"
|
cd "$bin_dir"
|
||||||
|
|
|
@ -1,17 +1,17 @@
|
||||||
/usr/bin/shutdown
|
/var/db/puke/hummingbird/version
|
||||||
/usr/bin/hummingbird
|
|
||||||
/usr/bin/reboot
|
|
||||||
/var/db/puke/hummingbird/sources
|
/var/db/puke/hummingbird/sources
|
||||||
/var/db/puke/hummingbird/manifest
|
/var/db/puke/hummingbird/manifest
|
||||||
/var/db/puke/hummingbird/checksums
|
/var/db/puke/hummingbird/checksums
|
||||||
/var/db/puke/hummingbird/build
|
/var/db/puke/hummingbird/build
|
||||||
/var/db/puke/hummingbird/version
|
|
||||||
/etc/rc.shutdown
|
|
||||||
/etc/rc.init
|
|
||||||
/var/db/puke/hummingbird
|
/var/db/puke/hummingbird
|
||||||
/var/db/puke
|
/var/db/puke
|
||||||
/var/db
|
/var/db
|
||||||
/var
|
/var
|
||||||
|
/usr/bin/shutdown
|
||||||
|
/usr/bin/reboot
|
||||||
|
/usr/bin/hummingbird
|
||||||
/usr/bin
|
/usr/bin
|
||||||
/usr
|
/usr
|
||||||
|
/etc/rc.shutdown
|
||||||
|
/etc/rc.init
|
||||||
/etc
|
/etc
|
||||||
|
|
Loading…
Reference in New Issue
Block a user