mirror of
https://gitlab.redox-os.org/redox-os/redox.git
synced 2026-07-01 00:58:42 +08:00
Revert some changes
This commit is contained in:
parent
167a18c23c
commit
cf77f1497f
@ -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
|
||||
|
||||
16
mk/prefix.mk
16
mk/prefix.mk
@ -78,11 +78,6 @@ $(PREFIX)/libtool: $(PREFIX)/libtool.tar.gz
|
||||
echo $(LIBTOOL_VERSION) > $@.partial/.tarball-version
|
||||
mv "$@.partial" "$@"
|
||||
|
||||
$(PREFIX)/libtool.tar.gz:
|
||||
mkdir -p "$(@D)"
|
||||
wget -O $@.partial "https://gitlab.redox-os.org/redox-os/libtool/-/archive/v$(LIBTOOL_VERSION)-redox/libtool-v$(LIBTOOL_VERSION)-redox.tar.gz"
|
||||
mv $@.partial $@
|
||||
|
||||
$(PREFIX)/libtool-build: $(PREFIX)/libtool $(CONTAINER_TAG)
|
||||
ifeq ($(PODMAN_BUILD),1)
|
||||
$(PODMAN_RUN) make $@
|
||||
@ -129,7 +124,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" "$@"
|
||||
|
||||
|
||||
@ -4,8 +4,6 @@
|
||||
# in Podman after the image has been built
|
||||
|
||||
curl https://sh.rustup.rs -sSf | sh -s -- -y --default-toolchain stable
|
||||
echo "source $HOME/.cargo/env" >> $HOME/.bashrc
|
||||
source $HOME/.cargo/env
|
||||
|
||||
cargo +stable install --force --version 0.1.1 cargo-config
|
||||
cargo +stable install --force --version 1.16.0 just
|
||||
|
||||
Loading…
Reference in New Issue
Block a user