Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
debootstrap: don't use supplied Makefile
- mimic Makefile to prervent root chown/chmod
  • Loading branch information
wwwutz committed Sep 19, 2021
1 parent 066a35b commit 42ef13e
Showing 1 changed file with 9 additions and 8 deletions.
17 changes: 9 additions & 8 deletions debootstrap.be0
@@ -1,6 +1,6 @@
#!/usr/bin/env beesh

# BEE_VERSION debootstrap-1.0.124-0
# BEE_VERSION debootstrap-1.0.124-1

# https://salsa.debian.org/installer-team/debootstrap/-/archive/fbd2ea51c7ddf519209e78d1ba79ade70c76c015/debootstrap-1.0.124.tar.gz
SRCURL[0]="https://beehive.molgen.mpg.de/7b4dfb583c7b7c755efc26ac51ec3c64/debootstrap-${PKGVERSION}.tar.gz"
Expand All @@ -27,10 +27,11 @@ SRCURL[0]="https://beehive.molgen.mpg.de/7b4dfb583c7b7c755efc26ac51ec3c64/deboot
# bee_build
#}

#mee_install() {
# bee_install
#}

#mee_install_post() {
# exit
#}
mee_install() {
VERSION=$(sed 's/.*(\(.*\)).*/\1/; q' debian/changelog)
sed -i 's/@VERSION@/$(VERSION)/g' debootstrap
install -v -m 755 -D -t ${D}/usr/sbin debootstrap
install -v -m 644 -D -t ${D}/usr/share/debootstrap functions
cp -r -t ${D}/usr/share/debootstrap scripts
install -v -m 644 -D -t ${D}/usr/share/man/man8 debootstrap.8
}

0 comments on commit 42ef13e

Please sign in to comment.