Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnton Hvornum <anton.feeds@gmail.com>2021-04-28 14:20:19 +0200
committerAnton Hvornum <anton.feeds@gmail.com>2021-04-28 14:20:19 +0200
commit09cab3274911143e4230f3b3dce7b7147b13e816 (patch)
tree89f8a4a488f78c7ea684d7df6e49367e0a762a86
parenta13db6bffd93d317c4acb27ef60dfe25a2301979 (diff)
parent2017d9a5f3077b64b80f2d3780dd0d8be5cda840 (diff)
Merge latest changes from master
-rw-r--r--.github/workflows/iso-build.yaml7
-rw-r--r--profiles/sway.py5
2 files changed, 9 insertions, 3 deletions
diff --git a/.github/workflows/iso-build.yaml b/.github/workflows/iso-build.yaml
index acef87fb..797629b0 100644
--- a/.github/workflows/iso-build.yaml
+++ b/.github/workflows/iso-build.yaml
@@ -9,7 +9,6 @@ on:
- main # In case we adopt this convention in the future
pull_request:
paths-ignore:
- - '.github/**'
- 'docs/**'
- '**.editorconfig'
- '**.gitignore'
@@ -29,7 +28,11 @@ jobs:
- run: find .
- run: cat /etc/os-release
- run: mkdir -p /tmp/archlive/airootfs/root/archinstall-git; cp -r . /tmp/archlive/airootfs/root/archinstall-git
- - run: echo "pip uninstall archinstall -y; cd archinstall-git; python setup.py install; echo 'Type python -m archinstall to launch archinstall'" > /tmp/archlive/airootfs/root/.zprofile
+ - run: echo "pip uninstall archinstall -y; cd archinstall-git; python setup.py install" > /tmp/archlive/airootfs/root/.zprofile
+ - run: echo "echo \"This is an unofficial ISO for the development and testing of archinstall. No support will be provided.\"" >> /tmp/archlive/airootfs/root/.zprofile
+ - run: echo "echo \"This ISO was built from Git SHA $GITHUB_SHA\"" >> /tmp/archlive/airootfs/root/.zprofile
+ - run: echo "echo \"Type archinstall to launch the installer.\"" >> /tmp/archlive/airootfs/root/.zprofile
+ - run: cat /tmp/archlive/airootfs/root/.zprofile
- run: pacman -Sy; pacman --noconfirm -S git archiso
- run: cp -r /usr/share/archiso/configs/releng/* /tmp/archlive
- run: echo -e "git\npython\npython-pip\npython-setuptools" >> /tmp/archlive/packages.x86_64
diff --git a/profiles/sway.py b/profiles/sway.py
index f132df33..c3a6e31a 100644
--- a/profiles/sway.py
+++ b/profiles/sway.py
@@ -12,7 +12,10 @@ def _prep_function(*args, **kwargs):
for more input before any other installer steps start.
"""
if "nvidia" in _gfx_driver_packages:
- raise archinstall.lib.exceptions.HardwareIncompatibilityError("Sway does not support the proprietary nvidia drivers")
+ choice = input("The proprietary Nvidia driver is not supported by Sway. It is likely that you will run into issues. Continue anyways? [y/N] ")
+ if choice.lower() in ("n", ""):
+ raise archinstall.lib.exceptions.HardwareIncompatibilityError("Sway does not support the proprietary nvidia drivers.")
+
__builtins__['_gfx_driver_packages'] = archinstall.select_driver()
return True