Skip to content

Commit

Permalink
Some archives have symlinks that needs to be extracted with full path
Browse files Browse the repository at this point in the history
(pyrsistent).
  • Loading branch information
laeti-tia committed Nov 4, 2023
1 parent 1da6144 commit 8664357
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions docker-envs/Dockerfile-d12
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
FROM debian:12 AS unibuild-image

# Install pre-requisites for building packages
# D12 on GitHub actions need make to be installed here
RUN apt-get update -y && \
apt-get upgrade -y && \
apt-get install -y sudo apt-utils curl emacs-nox gnupg htop m4 make pylint rsync screen tree vim
Expand Down
2 changes: 1 addition & 1 deletion unibuild-package/unibuild-package/unibuild-deb.make
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ $(BUILD_UNPACK_DIR): $(PRODUCTS_DIR) $(BUILD_ORIG_DIR)
mkdir -p '$@/$(SOURCE_DIR)'
ifneq ($(SOURCE_TARBALL),)
@printf "\nUnpacking tarball $(SOURCE_TARBALL).\n\n"
(cd '$@/$(SOURCE_DIR)' && tar xzf - --strip-components=1) < '$(SOURCE_TARBALL)'
(cd '$@/$(SOURCE_DIR)' && tar xzfP - --strip-components=1) < '$(SOURCE_TARBALL)'
mv '$@/$(SOURCE_DIR)' '$@/$(TAR_UNPACK_DIR)'
ls -a '$@/$(TAR_UNPACK_DIR)' \
| egrep -vxe '[.]{1,2}' \
Expand Down

0 comments on commit 8664357

Please sign in to comment.