fix: pass commands to exec correctly
This commit is contained in:
parent
9493f4c575
commit
abb63b54e9
3 changed files with 16 additions and 13 deletions
|
|
@ -2,19 +2,20 @@ track: "https://git.ruds.io/rs2009/blendOS-tracks/raw/branch/main/arch.yaml"
|
|||
|
||||
stages:
|
||||
- module: exec
|
||||
run: |
|
||||
if [[ "$BASE_DESKTOP" = gnome ]]; then
|
||||
pacman -Syqu --noconfirm gnome
|
||||
systemctl enable gdm
|
||||
elif [[ "$BASE_DESKTOP" = plasma ]]; then
|
||||
pacman -Syqu --noconfirm sddm plasma \
|
||||
kde-accessibility-meta \
|
||||
kde-multimedia-meta \
|
||||
kde-system-meta \
|
||||
kde-utilities-meta \
|
||||
discover
|
||||
systemctl enable sddm
|
||||
fi
|
||||
inputs:
|
||||
- |
|
||||
if [[ "$BASE_DESKTOP" == gnome ]]; then
|
||||
pacman -Syqu --noconfirm gnome
|
||||
systemctl enable gdm
|
||||
elif [[ "$BASE_DESKTOP" == plasma ]]; then
|
||||
pacman -Syqu --noconfirm sddm plasma \
|
||||
kde-accessibility-meta \
|
||||
kde-multimedia-meta \
|
||||
kde-system-meta \
|
||||
kde-utilities-meta \
|
||||
discover
|
||||
systemctl enable sddm
|
||||
fi
|
||||
|
||||
env:
|
||||
BASE_DESKTOP: gnome
|
||||
|
|
|
|||
|
|
@ -80,6 +80,7 @@ stages:
|
|||
- |
|
||||
git clone --revision "$BASE_AKSHARA_REPO_COMMIT" --depth 1 "$BASE_AKSHARA_REPO" /akshara
|
||||
cp -a /akshara/usr/* /usr
|
||||
rm -rf /akshara
|
||||
|
||||
- module: systemctl-enable
|
||||
inputs:
|
||||
|
|
|
|||
|
|
@ -32,6 +32,7 @@ stages:
|
|||
- |
|
||||
git clone --revision "$BASE_AKSHARA_REPO_COMMIT" --depth 1 "$BASE_AKSHARA_REPO" /akshara
|
||||
cp -a /akshara/usr/* /usr
|
||||
rm -rf /akshara
|
||||
|
||||
post-stages:
|
||||
- module: exec
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue