Revert some changes

This commit is contained in:
Wildan M 2025-05-31 14:17:57 +07:00
parent 778af4cdcc
commit 1c93c89f38
2 changed files with 11 additions and 2 deletions

View File

@ -31,7 +31,7 @@ else
endif
container_su: FORCE
podman run $(PODMAN_VOLUMES) --interactive --tty $(IMAGE_TAG) bash
podman exec --user=0 --latest --interactive --tty bash
container_clean: FORCE
rm -f build/container.tag

View File

@ -134,7 +134,16 @@ $(PREFIX)/rust-install.tar.gz:
$(PREFIX)/rust-install: $(PREFIX)/rust-install.tar.gz
rm -rf "$@.partial" "$@"
mkdir -p "$@.partial"
tar --extract --file "$<" --directory "$@.partial" --strip-components=1
git clone \
--recurse-submodules \
"https://gitlab.redox-os.org/redox-os/libtool/" \
--branch "v$(LIBTOOL_VERSION)-redox" \
--depth 2 \
"$@.partial"
# rootless podman problem
chmod -R u+w $@.partial
touch "$@.partial"
mv "$@.partial" "$@"