Revert precompiled ruby due to issues
This commit is contained in:
1 parent
efecc030a3
commit
4d7567d840
1 file changed
-12
@@ -10,7 +10,6 @@ pacman --noconfirm -Sy archiso git python-pip sudo base-devel jq
|
|||||||
|
|
||||||
build_cache_dir="/var/cache"
|
build_cache_dir="/var/cache"
|
||||||
offline_mirror_dir="$build_cache_dir/airootfs/var/cache/omarchy/mirror/offline"
|
offline_mirror_dir="$build_cache_dir/airootfs/var/cache/omarchy/mirror/offline"
|
||||||
offline_ruby_dir="$build_cache_dir/airootfs/var/cache/omarchy/ruby"
|
|
||||||
|
|
||||||
# We need to fiddle with pip settings
|
# We need to fiddle with pip settings
|
||||||
# in order to install to the correct place
|
# in order to install to the correct place
|
||||||
@@ -84,7 +83,6 @@ make_archiso_offline() {
|
|||||||
|
|
||||||
mkdir -p $build_cache_dir/
|
mkdir -p $build_cache_dir/
|
||||||
mkdir -p $offline_mirror_dir/
|
mkdir -p $offline_mirror_dir/
|
||||||
mkdir -p $offline_ruby_dir/
|
|
||||||
|
|
||||||
# We base our ISO on the official arch ISO (releng) config
|
# We base our ISO on the official arch ISO (releng) config
|
||||||
cp -r archiso/configs/releng/* $build_cache_dir/
|
cp -r archiso/configs/releng/* $build_cache_dir/
|
||||||
@@ -106,16 +104,6 @@ cd -
|
|||||||
prepare_offline_mirror
|
prepare_offline_mirror
|
||||||
make_archiso_offline
|
make_archiso_offline
|
||||||
|
|
||||||
# Download Ruby tarball if not already cached
|
|
||||||
ruby_tarball="ruby-3.4.5-rails-8.0.2.1-x86_64.tar.gz"
|
|
||||||
if [ ! -f "$offline_ruby_dir/$ruby_tarball" ]; then
|
|
||||||
echo "Downloading Ruby tarball..."
|
|
||||||
curl -fsSL -o "$offline_ruby_dir/$ruby_tarball" \
|
|
||||||
"https://pkgs.omarchy.org/ruby/$ruby_tarball"
|
|
||||||
else
|
|
||||||
echo "Ruby tarball already cached, skipping download"
|
|
||||||
fi
|
|
||||||
|
|
||||||
# Insert the configurator in the root users home folder (default user in the official releng ISO profile).
|
# Insert the configurator in the root users home folder (default user in the official releng ISO profile).
|
||||||
mkdir -p "$build_cache_dir/airootfs/root"
|
mkdir -p "$build_cache_dir/airootfs/root"
|
||||||
curl -fsSL -o "$build_cache_dir/airootfs/root/configurator" \
|
curl -fsSL -o "$build_cache_dir/airootfs/root/configurator" \
|
||||||
|
|||||||
Reference in new issue
Block a user