summaryrefslogtreecommitdiff
path: root/src/chroot-tools/libremakepkg
diff options
context:
space:
mode:
Diffstat (limited to 'src/chroot-tools/libremakepkg')
-rwxr-xr-xsrc/chroot-tools/libremakepkg21
1 files changed, 1 insertions, 20 deletions
diff --git a/src/chroot-tools/libremakepkg b/src/chroot-tools/libremakepkg
index 2901b0d..a9e1fb7 100755
--- a/src/chroot-tools/libremakepkg
+++ b/src/chroot-tools/libremakepkg
@@ -24,32 +24,13 @@
load_conf_libretools_chroot
. "$(which libremessages)"
+. /usr/share/devtools/makechrootpkg.sh
shopt -s nullglob
-# This file (libremakepkg) is GPLv3+, but I would like to use some code
-# modified from devtools' "makechrootpkg", which is GPLv2.
-. "$(dirname "$0")/libremakepkg.gpl2"
-# This gives us the functions:
-# - chroot_init
-# - chroot_exec
-# - chroot_copy_in
-# - chroot_copy_out
-# - add_to_local_repo
-
# Boring functions #############################################################
##
-# copy logs if they exist
-##
-copy_logs() {
- for l in "$copydir"/build/*.log; do
- chown "$LIBREUSER" "$l"
- mv "$l" .
- done
-}
-
-##
# End inmediately but print a useful message
##
trap_exit() {