Commit 74daec27 authored by mntmn's avatar mntmn
Browse files

mkuserland2: remove sources and build artifacts to save space

parent 43e3d17f
Pipeline #288 canceled with stage
......@@ -5,6 +5,9 @@ export LC_ALL=C
export LANGUAGE=C
export LANG=C
set -e
set -x
cd /root
mkdir -p src
cd src
......@@ -39,6 +42,7 @@ cd drm
meson build -Detnaviv=true -Dradeon=false -Damdgpu=false -Dvmwgfx=false -Dfreedreno=false -Dvc4=false -Dnouveau=false
ninja -C build install
cd ..
rm -rf drm
ldconfig
......@@ -46,6 +50,7 @@ cd mesa
meson build -Dplatforms=x11,wayland -Ddri3=true -Dgallium-drivers=swrast,etnaviv,kmsro,virgl -Dgbm=enabled -Degl=enabled -Dbuildtype=release -Db_ndebug=true
ninja -C build install
cd ..
rm -rf mesa
ldconfig
......@@ -54,6 +59,7 @@ git checkout 0.13.0
meson build
ninja -C build install
cd ..
rm -rf wlroots
ldconfig
......@@ -63,6 +69,7 @@ meson build
ninja -C build install
chmod +s /usr/local/bin/sway
cd ..
rm -rf sway
cd xserver
......@@ -87,6 +94,7 @@ ENDPATCH
meson build -Dxorg=true -Dxwayland=true -Dglamor=true -Dxwayland_eglstream=false -Dxnest=false -Ddmx=false -Dxvfb=true -Dxwin=false -Dxephyr=false -Ddri3=true
ninja -C build install
cd ..
rm -rf xserver
# overwrite /usr/bin/Xwayland with symlink to our Xwayland (FIXME: brittle)
......@@ -97,6 +105,7 @@ cd Waybar
meson build
ninja -C build install
cd ..
rm -rf Waybar
cd wayvnc
mkdir subprojects
......@@ -107,10 +116,12 @@ cd ..
meson build
ninja -C build install
cd ..
rm -rf wayvnc
cd cage
meson build
ninja -C build install
cd ..
rm -rf cage
EOF
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment