why when installing rust build fails
sudo: unable to send audit message: Operation not permitted
Running snippet curl --proto =https --tlsv1.2 -sSf https://sh.rustup.rs | sh
info: downloading installer
rustup: Unable to run interactively. Run with -y to accept defaults, --help for additional options
Error: building at STEP "RUN --mount=type=bind,from=stage-files,src=/files,dst=/tmp/files,rw --mount=type=bind,from=stage-modules,src=/modules,dst=/tmp/modules,rw --mount=type=bind,from=ghcr.io/blue-build/cli:4f235be4f7ec2aa1a462565f4ba797554ac62edb-build-scripts,src=/scripts/,dst=/tmp/scripts/ --mount=type=cache,dst=/var/cache/rpm-ostree,id=rpm-ostree-cache-meme-os-latest,sharing=locked /tmp/scripts/run_module.sh 'script' '{"type":"script","snippets":["curl -L https://urbit.org/install/linux-x86_64/latest | sudo tar xzk --transform='s/.*/urbit/g' -C /usr/bin && sudo chmod +x /usr/bin/urbit","curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh"],"scripts":["initramfs.sh","remove-wp.sh"]}' && ostree container commit": while running runtime: exit status 1
ERROR => Failed to build oci-archive:/etc/bluebuild/meme-os.tar.gz
43 Replies
rustup is also in fedora repos https://packages.fedoraproject.org/pkgs/rustup/rustup/
rustup - Fedora Packages
View rustup in the Fedora package repositories. rustup: Manage multiple rust installations with ease
it won't install rust though, just rustup, which is used to manage the rust environment
i want rust too
it will install to your home directory afaik so it wouldn't work in the container build anyway
the script that i wrote?
if you just want to bake in the latest version of rust you can also install it from fedora https://packages.fedoraproject.org/pkgs/rust/rust/
rust - Fedora Packages
View rust in the Fedora package repositories. rust: The Rust Programming Language
but that is not recommended because you might need different versions of rust, and when installing it from fedora repos it will only update when your image is updated
aah makes sense
i don't know of any script you wrote
oh, yeah, that, the snippet from the rust website, yeah
itll install to home dir?
i dont think so
that's meant for local usage yeah
so that should work
better than using fedora's