Author SHA1 Message Date
c-ludenberg 051c466537 horizon: new beginning 2026-08-26 18:36:24 +02:00
c-ludenberg 2c7b4072dc docs: point all links at Gitea (Euri-Linux), replace dead GitHub Pages repo URL, fix wallpaper plugin names 2026-08-23 19:10:13 +02:00
c-ludenberg b65f1a37eb fix: keyring fetch path -> Euri-Linux/euri-packages/euri-keyring/euri.gpg 2026-08-21 22:05:15 +02:00
c-ludenberg 11706db546 rebrand!: Antergos NeXT -> Euri Linux 2026-08-21 21:34:51 +02:00
c-ludenberg 24affb4a5a Fix runner labels to match act_runner configuration 2026-08-19 22:11:32 +02:00
c-ludenberg 21db45f0b0 Migrate .github to .gitea, add pages workflow and nginx stack 2026-08-19 22:07:51 +02:00
c-ludenberg ebf861e083 Add Gitea Actions workflow for ISO build 2026-08-19 21:26:16 +02:00
Michał d4c155a0af i had it wrong 😭 2026-08-18 00:41:39 +02:00
Michał 7ce836e905 fixing build.yml 2026-08-18 00:38:20 +02:00
Michał 4134d950ac fix(ci): bootstrap package signing key before ISO build
.... it's midnight...i dont even have the release ready. FU-
2026-08-18 00:36:52 +02:00
c-ludenberg 9a63b5d17a fix(calamares): enable all DMs in services-artix, clarify both config dirs are online
services-artix.conf enabled only sddm + greetd, so LY/LightDM/LXDM were
installed but never service-enabled -> TTY at boot instead of login screen.
Enable the full DM set (artix-service only activates the installed one).

Docs: the live-overlay calamares/ and calamares-online/ dirs both serve the
online installer; there is no offline Calamares config. settings_offline.conf
shipped by the branding package is unused - the launcher always overwrites it.
2026-08-17 20:17:40 +02:00
c-ludenberg 1b44b91e30 chore(pacman): require signed DB for antergos-pkgs, drop TrustAll
Both build and installed-system pacman configs now use
'SigLevel = DatabaseRequired PackageOptional' for [antergos-pkgs].
The repo DB is signed by the dedicated signing key (AA644A09...),
which authenticates all packages via the checksums the signed DB
carries. Keyring package updated to match.
2026-08-17 18:55:41 +02:00
c-ludenberg da5a59a2e5 fix(offline): quoted brace expansion created literal dir, mounts failed
The mkdir on line 118 had braces inside double quotes, so bash created
a single directory named '{home,var/cache,var/log,.snapshots,boot}'
instead of five separate ones. Every subsequent subvolume mount
(/home, /var/cache, etc.) then failed. Also: detect EFI vs BIOS boot
for grub-install instead of hard-coding x86_64-efi (which bricks under
set -eu on BIOS-only machines), and surface mkinitcpio failures instead
of swallowing them.
2026-08-17 18:18:34 +02:00
c-ludenberg dab33f11e2 feat: generate ISO sha256 checksum on build
artools only embeds internal LiveOS md5 files; nothing verifies the ISO
itself. Emit <iso>.sha256 alongside the artifact in both CI and the
podman build script so releases ship a verifiable checksum.
2026-08-17 18:14:07 +02:00
c-ludenberg b46206d54f fix(build): copy ISO from WORKSPACE_DIR/iso, not artools build dir
buildiso outputs to $WORKSPACE_DIR/iso/antergos/, so the export step
copied from an empty source and produced an empty iso-output/.
2026-08-17 18:11:36 +02:00
c-ludenberg 14a109febf revert: drop pacman -Scc from build container
Forcing a full cache wipe re-downloads every package every build,
lengthening builds and increasing exposure to slow mirrors. The
truncated-download failure is transient mirror flakiness, not stale
cache; pacman already falls through mirrors. Revert to upstream.
2026-08-17 18:04:30 +02:00
c-ludenberg 153b3def19 fix(build): clear pacman cache before build 2026-08-17 17:54:54 +02:00
c-ludenberg 3c6968ba56 chore(release): slip Arranxo date to 2026.08.17
Packages CI + ISO build take ~30+ min; move the release date forward
so the ISO and packages stay in sync. os-release and docs updated.
2026-08-16 23:50:41 +02:00
c-ludenberg abebe277d4 fix(calamares): sync LightDM group to branding config, add zenity to live
- packagechooser_dm.conf (offline + online copies): LightDM group now
  installs lightdm-slick-greeter + antergos-lightdm-config and shows a
  screenshot. The live-overlay was overriding the branding package's
  config with a bare LightDM group (no greeter), so displaymanager's
  greeter_setup() aborted Xfce+LightDM online installs.
- profile.yaml: add zenity to rootfs packages. antergos-offline-install
  uses zenity exclusively but only yad was installed, so the offline
  installer silently did nothing on double-click.
2026-08-16 23:44:58 +02:00
c-ludenberg 1594c9b9e6 fix(build): create loop devices in container for efi.img mount
make_grub mounts the 4M efi.img with a loop device. The podman container
only had /dev/loop0 from the host, so losetup could not allocate a free
loop device and the build aborted at the EFI boot image step. Create
/dev/loop-control and /dev/loop0-15 before running buildiso.
2026-08-16 22:58:48 +02:00
c-ludenberg 9450280214 fix(build): override container ENTRYPOINT so sh runs the build script 2026-08-16 22:41:40 +02:00
c-ludenberg 268d06be50 fix(build): build image rootful so sudo podman run finds it 2026-08-16 22:27:17 +02:00
c-ludenberg 4fd9b08ba9 fix(build): qualify local podman image reference in build-iso-podman.sh 2026-08-16 22:24:59 +02:00
c-ludenberg 9c356b55d4 release: 2026.08.16 Arranxo (semi-hotfix) — os-release + release notes
- Bump os-release to 2026.08.16 Arranxo in root/live overlays
- Add live-overlay usr/lib/os-release copy for self-containment
- Rewrite latest-release section for the semi-hotfix (COSMIC DM fix,
  zsh lockout fix, new Plasma Minimal DE entry, jtadlock91 credit)
2026-08-16 21:34:42 +02:00
c-ludenberg 9c714387cb docs(contributing): unsigned PRs are closed, useful changes re-implemented with credit 2026-08-16 21:10:33 +02:00
c-ludenberg f9b830621e fix(calamares): add zsh to Default group and minimal KDE entry (reference copies)
Mirror the packaged calamares-branding-antergos-next changes so the live-overlay
configs stay self-contained if the packages repo is rebuilt.
2026-08-16 21:05:58 +02:00
c-ludenberg b58da2a378 fix(calamares): add cosmic-greeter-dinit to COSMIC choice, run displaymanager after services-artix 2026-08-16 19:15:12 +02:00
c-ludenberg 9f9ce8b5aa docs: document container and native build paths, update release notes and netinstall-add docs 2026-08-16 19:15:09 +02:00
c-ludenberg 29e795da87 docs: rebrand project as 'technical successor', not 'revival' 2026-08-16 19:14:59 +02:00
c-ludenberg 3abead50e2 fix(ci): only moderate new issues/PRs, stop flagging normal content 2026-08-16 19:11:02 +02:00
Michał adf96ddac2 update the ai moderator to not activate if i comment in a PR 2026-08-16 14:58:22 +00:00
c-ludenberg 76e1bb1fc1 feat(build): containerize ISO builds for non-pacman distros
this is a commit message. it is a MANIFESTO for no reason. i am aware.
it is 17:38. i am in pain. the pain is optional. the commit is not.

so. context, because i know you need it:
i installed gentoo to see what happens. what happened: emerge. days of
emerge. portage asked me to rebuild itself mid-rebuild and i said yes
because i was scared of what it'd do if i said no. my ext4 drive died
AGAIN so we're btrfs. snapshots are now my emergency contacts.
(profile update pending: "Used Gentoo BTW" -> "Used Gentoo and it
used me")

THE ACTUAL CHANGES (finally):
- artools is bash + pacman. it is not sacred. it is now a CONTAINER
- Containerfile: artix base, artools + squashfs-tools + xorriso +
  mkinitcpio, repo buildiso as ENTRYPOINT (the --overwrite='*' one.
  the other one knows what it did), antergos-pkgs pacman.conf baked in
- .dockerignore so podman users don't download 33MB of my .git and
  learn things about me

devtmpfs requires rootful podman. i am not explaining why. the answer
is "devtmpfs is a coward." i am the maintainer. i am allowed to say
that. rootless? you're not building an ISO, you're building a support
system for your decisions. anyway.

- build-iso-podman.sh exists so i can stop pasting commands from the
  README into my own terminal like a tourist
- README now has: podman for non-pacman (gentoo fedora debian), native
  for arch/artix/kaos, and a TABLE. i made a TABLE. i am healing.
- it works on any distro with podman because i want you to suffer LESS
  than me. that is not altruism. it is spite with a benefit package.

so laugh all you want. forget about me all you want. but at least i'll
be gorgeous forever. this is the longest i've committed to anything
since gentoo. and i regret BOTH of those decisions.

Signed-off-by: Michał <ash8820@proton.me>
2026-08-15 17:38:30 +00:00
c-ludenberg 00e1390b96 hotfix(calamares): add greetd to online displaymanager.conf
The online DM chooser offers greetd but the online displaymanager.conf
never listed it, so Calamares skipped DMgreetd and never wrote
/etc/greetd/config.toml for COSMIC. Offline already had it.

PS: as the maintainer, this is part of the hotfix release that will drop
shortly after I finish suffering through a Gentoo install.
2026-08-13 18:30:35 +02:00
c-ludenberg 52d3afed46 chore(release): 2026.08.11 Xeitoso codename in live and root os-release 2026-08-10 19:19:17 +02:00
124 changed files with 49 additions and 8377 deletions
-106
View File
@@ -1,106 +0,0 @@
# Contributor Covenant Code of Conduct
## Our Pledge
We as members, contributors, and leaders pledge to make participation in our
community a harassment-free experience for everyone, regardless of age, body
size, visible or invisible disability, ethnicity, sex characteristics, gender
identity and expression, level of experience, education, socio-economic status,
nationality, personal appearance, race, religion, or sexual identity
and orientation.
We pledge to act and interact in ways that contribute to an open, welcoming,
diverse, and healthy community.
## Our Standards
Examples of behavior that contributes to a positive environment include:
* Demonstrating empathy and kindness toward other people
* Being respectful of differing opinions, viewpoints, and experiences
* Giving and gracefully accepting constructive feedback
* Accepting responsibility and apologizing to those affected by our mistakes,
and learning from the experience
* Focusing on what is best not just for us as individuals, but for the overall
community
* Asking questions about the project's history and decisions — curiosity is
always welcome
Examples of unacceptable behavior include:
* The use of sexualized language or imagery, and sexual attention or advances
of any kind
* Trolling, insulting or derogatory comments, and personal or political attacks
* Public or private harassment
* Publishing others' private information without explicit permission
* Asking why the project doesn't use systemd (the answer is always "no :3",
this has been established, please respect our time)
* Continuing to insist on systemd after being told no. If you really want a
systemd-based Antergos NeXT, here is your path:
1. Fork this repository from the `before-systemd-change` branch (not master).
Note: that branch uses `archiso`, not our custom `buildiso` — you will
need to adapt every package and profile.
2. Fork antergos-packages and revert the pipewire/dinit package changes.
3. Update the repo URLs in your fork to point to your own repos.
4. Build your own ISO.
Your fork will not be supported here. No issues, no PRs, no handholding.
You wanted systemd, you maintain it.
* Other conduct which could reasonably be considered inappropriate in a
professional setting
### Disagreements and Heated Discussions
Disagreement is natural in open source. We do not ban spirited discussion
about technical decisions, project history, or design choices. However,
when a discussion turns into a personal attack or becomes unproductive,
the AI moderator will step in to de-escalate, restrict comments, or lock
the conversation as needed. The goal is to keep discussion productive,
not to silence dissent.
## Enforcement Responsibilities
Community leaders are responsible for clarifying and enforcing our standards
and will take appropriate and fair corrective action in response to any
behavior they deem inappropriate, threatening, offensive, or harmful.
Community leaders have the right and responsibility to remove, edit, or reject
comments, commits, code, wiki edits, issues, and other contributions that do
not align with this Code of Conduct.
## Scope
This Code of Conduct applies within all community spaces, including GitHub,
Matrix, and any other official channels. It also applies when representing
the project in public spaces.
## Enforcement
Instances of abusive, harassing, or otherwise unacceptable behavior may be
reported to **ash8820@proton.me**. All complaints will be reviewed and
investigated promptly and fairly.
## Enforcement Guidelines
### 1. Correction
**Community Impact**: Minor inappropriate behavior or language.
**Consequence**: A private, written warning.
### 2. Warning
**Community Impact**: A more significant violation or pattern of behavior.
**Consequence**: A warning with consequences for continued behavior.
No interaction with the involved parties for a specified period.
### 3. Temporary Ban
**Community Impact**: A serious violation of community standards.
**Consequence**: A temporary ban from all community spaces.
### 4. Permanent Ban
**Community Impact**: Severe or sustained violations, including harassment.
**Consequence**: A permanent ban from the community.
## Attribution
This Code of Conduct is adapted from the [Contributor Covenant][homepage],
version 2.1.
[homepage]: https://www.contributor-covenant.org
-72
View File
@@ -1,72 +0,0 @@
name: Bug Report
description: File a bug report
title: "[Bug]: "
labels: ["bug"]
body:
- type: markdown
attributes:
value: |
Thanks for taking the time to fill out this bug report!
- type: textarea
id: description
attributes:
label: Description
description: A clear and concise description of what the bug is.
validations:
required: true
- type: textarea
id: reproduction
attributes:
label: Steps to Reproduce
description: How can we reproduce this issue?
placeholder: |
1. Boot ISO with '...'
2. Select installer option '...'
3. See error
validations:
required: true
- type: textarea
id: expected
attributes:
label: Expected Behavior
description: What did you expect to happen?
validations:
required: true
- type: textarea
id: actual
attributes:
label: Actual Behavior
description: What actually happened?
validations:
required: true
- type: textarea
id: environment
attributes:
label: Environment
description: |
Examples:
- **ISO version**: antergos-next-20260701
- **Install method**: Online / BYODE
- **Desktop**: KDE Plasma / Xfce
value: |
- ISO version:
- Install method:
- Desktop:
validations:
required: false
- type: textarea
id: logs
attributes:
label: Relevant Log Output
description: Please copy and paste any relevant log output.
render: shell
validations:
required: false
- type: checkboxes
id: terms
attributes:
label: Code of Conduct
description: By submitting this issue, you agree to follow our Code of Conduct.
options:
- label: I agree to follow this project's Code of Conduct
required: true
@@ -1,46 +0,0 @@
name: Feature Request
description: Suggest an idea for this project
title: "[Feature]: "
labels: ["enhancement"]
body:
- type: markdown
attributes:
value: |
Thanks for suggesting a feature!
- type: textarea
id: problem
attributes:
label: Is your feature request related to a problem?
description: A clear and concise description of what the problem is.
placeholder: I'm always frustrated when [...]
validations:
required: false
- type: textarea
id: solution
attributes:
label: Describe the Solution
description: What would you like to see happen?
validations:
required: true
- type: textarea
id: alternatives
attributes:
label: Alternatives Considered
description: Any alternative solutions or features you've considered.
validations:
required: false
- type: textarea
id: context
attributes:
label: Additional Context
description: Add any other context or screenshots about the feature request here.
validations:
required: false
- type: checkboxes
id: terms
attributes:
label: Code of Conduct
description: By submitting this issue, you agree to follow our Code of Conduct.
options:
- label: I agree to follow this project's Code of Conduct
required: true
-5
View File
@@ -1,5 +0,0 @@
blank_issues_enabled: true
contact_links:
- name: Antergos NeXT Community
url: https://github.com/Antergos-NeXT/antergos-iso/discussions
about: Please ask and answer questions here.
-31
View File
@@ -1,31 +0,0 @@
## Description
<!-- Provide a clear summary of what this PR does and why. -->
## Type of Change
- [ ] New feature
- [ ] Bug fix
- [ ] Refactoring
- [ ] Documentation update
- [ ] Infrastructure / CI
## How to Test
<!-- Step-by-step instructions for reviewers to verify this works. -->
1.
2.
3.
## Checklist
- [ ] Code follows the project's style guidelines
- [ ] Self-reviewed for obvious errors
- [ ] Tested locally with `buildiso`
- [ ] Existing tests pass
- [ ] Updated documentation if needed
## Related Issues
<!-- Link related issues. Use "Closes #123" to auto-close. -->
-182
View File
@@ -1,182 +0,0 @@
name: AI Moderator
on:
issues:
types: [opened]
issue_comment:
types: [created]
pull_request_review_comment:
types: [created]
discussion:
types: [created]
discussion_comment:
types: [created]
permissions:
issues: write
pull-requests: write
discussions: write
contents: read
jobs:
moderate:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/github-script@v9
env:
GROQ_API_KEY: ${{ secrets.GROQ_API_KEY }}
with:
script: |
const fs = require('fs');
const coc = (() => { try { return fs.readFileSync('.github/CODE_OF_CONDUCT.md', 'utf8'); } catch (e) { return ''; } })();
const contributing = (() => { try { return fs.readFileSync('CONTRIBUTING.md', 'utf8'); } catch (e) { return ''; } })();
const content = context.payload.issue?.body
|| context.payload.discussion?.body
|| context.payload.comment?.body
|| '';
if (!content.trim()) {
console.log('No content to analyze');
return;
}
const isComment = context.payload.comment !== undefined;
const isDiscussion = context.payload.discussion !== undefined;
const prompt = [
'You are an AI moderator for the Antergos NeXT project.',
'Speak in first person. Be direct, confident, and have some snark.',
'The project has a playful but no-nonsense tone - match it.',
'',
'If the content says it is a test or contains phrases like moderator',
'or test or reply here, play along with the joke but still enforce the rules.',
'',
'Code of Conduct:',
coc,
'',
'Contributing Guidelines:',
contributing,
'',
'Analyze the content below for violations.',
'Respond with ONLY valid JSON - no markdown, no backticks.',
'',
'{',
' "violation": true/false,',
' "message": "your direct first-person response",',
' "action": "warn",',
' "severity": 1-10',
'}',
'',
'"action" options: "warn" (post warning), "hide" (minimize comment), "lock" (lock issue/discussion)',
'For issues use "warn" or "lock". For comments you may use "hide".',
'',
'Content:',
content
].join('\n');
const model = 'llama-3.1-8b-instant';
let decision;
try {
const response = await fetch('https://api.groq.com/openai/v1/chat/completions', {
method: 'POST',
headers: {
'Content-Type': 'application/json',
'Authorization': `Bearer ${process.env.GROQ_API_KEY}`
},
body: JSON.stringify({
model,
messages: [
{ role: 'system', content: 'You are a helpful community moderator. Respond only with valid JSON as instructed.' },
{ role: 'user', content: prompt }
],
temperature: 0.1,
max_tokens: 250
})
});
const data = await response.json();
const raw = data.choices?.[0]?.message?.content || '{}';
decision = JSON.parse(raw.replace(/```json|```/g, '').trim());
console.log(`Decision: ${JSON.stringify(decision)}`);
} catch (err) {
console.log(`API error: ${err}`);
return;
}
if (!decision.violation) {
console.log('Content deemed acceptable');
return;
}
const number = context.payload.issue?.number
|| context.payload.pull_request?.number
|| context.payload.discussion?.number;
if (!number) {
console.log('No issue/PR/discussion number found');
return;
}
const owner = context.repo.owner;
const repo = context.repo.repo;
try {
if (isDiscussion) {
const discId = context.payload.discussion.node_id;
if (discId) {
const msg = decision.message.replace(/"/g, '\\"');
await github.graphql(`
mutation {
addDiscussionComment(input: {discussionId: "${discId}", body: "${msg}"}) {
comment { id }
}
}
`);
}
} else {
await github.rest.issues.addLabels({
owner, repo, issue_number: number, labels: ['ai-moderated']
});
await github.rest.issues.createComment({
owner, repo, issue_number: number, body: decision.message
});
}
if (decision.action === 'hide' && isComment) {
const commentId = context.payload.comment.node_id;
if (commentId) {
await github.graphql(`
mutation {
minimizeComment(input: {subjectId: "${commentId}", classifier: OFF_TOPIC}) {
minimizedComment { isMinimized }
}
}
`);
console.log('Comment minimized');
}
}
if (decision.action === 'lock') {
if (isDiscussion) {
const discId = context.payload.discussion.node_id;
if (discId) {
await github.graphql(`
mutation {
lockLockable(input: {lockableId: "${discId}"}) {
lockedRecord { activeLockReason }
}
}
`);
}
} else {
await github.rest.issues.lock({ owner, repo, issue_number: number, lock_reason: 'too_heated' });
}
console.log('Locked');
}
console.log('Action completed: ' + decision.action);
} catch (err) {
console.log(`GitHub API error: ${err}`);
}
-104
View File
@@ -1,104 +0,0 @@
name: Build ISO
on:
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
container:
image: artixlinux/artixlinux:base
options: --privileged
steps:
- uses: actions/checkout@v4
- name: Install dependencies
run: |
pacman -Syu --noconfirm --needed --overwrite='*' \
artools \
git \
squashfs-tools \
sudo \
python \
python-pip
- name: Set up WORKSPACE_DIR
run: |
echo "WORKSPACE_DIR=${{ github.workspace }}" >> $GITHUB_ENV
- name: Debug workspace
run: |
echo "GITHUB_WORKSPACE=$GITHUB_WORKSPACE"
echo "github.workspace=${{ github.workspace }}"
pwd
ls -la
- name: Override pacman.conf with antergos-pkgs repo
run: |
mkdir -p /root/.config/artools/pacman.conf.d
cp "pacman.conf.d/iso-x86_64.conf" \
/root/.config/artools/pacman.conf.d/iso-x86_64.conf
# Also override the default in case USER_CONF_DIR differs
cp "pacman.conf.d/iso-x86_64.conf" \
/usr/share/artools/pacman.conf.d/iso-x86_64.conf
- name: Check available swap and block devices
run: |
swapon --show || echo "No swap"
lsblk
free -h
- name: Setup tmpfs for build directory
run: |
mkdir -p /var/lib/artools/buildiso
mount -t tmpfs -o size=12G,exec,suid,dev tmpfs /var/lib/artools/buildiso
mount | grep buildiso
- name: Build ISO
run: |
sudo -E ./buildiso -p antergos
- name: Upload ISO artifact
uses: actions/upload-artifact@v4
with:
name: Antergos-NeXT-ISO
path: ${{ github.workspace }}/iso/
- name: Upload to Internet Archive
if: false # My NVMe tried to unalive itself, 1536 unsafe shutdowns, ext4 cooked medium-rare, so I'm raw-dogging my own distro now. Set to true when I stop being my own QA team.
env:
IA_ACCESS_KEY: ${{ secrets.IA_ACCESS_KEY }}
IA_SECRET_KEY: ${{ secrets.IA_SECRET_KEY }}
run: |
pip install --break-system-packages internetarchive
mkdir -p "$HOME/.config/internetarchive"
cat > "$HOME/.config/internetarchive/ia.ini" <<EOF
[s3]
access = $IA_ACCESS_KEY
secret = $IA_SECRET_KEY
EOF
ISO_DIR="${WORKSPACE_DIR}/iso"
ISO=$(ls "$ISO_DIR"/antergos/*.iso 2>/dev/null | head -1)
[[ -z "$ISO" || ! -f "$ISO" ]] && { echo "No ISO found"; exit 1; }
DATE=$(date +%Y.%m.%d)
IDENTIFIER="antergos-next-$(date +%Y%m%d)-${{ github.run_number }}"
SIZE=$(stat -c%s "$ISO")
if [[ $SIZE -lt 524288000 ]]; then
echo "WARNING: ISO smaller than expected (${SIZE} bytes)"
file "$ISO" | grep -q "ISO 9660\|UDF" || { echo "Corrupted ISO"; exit 1; }
fi
ia upload "$IDENTIFIER" "$ISO" \
--metadata="title:Antergos NeXT $(date +%Y.%m.%d)" \
--metadata="mediatype:software" \
--metadata="collection:open_source_software" \
--metadata="description:Antergos NeXT community revival ISO — KDE Plasma, Dinit, Calamares installer" \
--metadata="subject:Antergos; Linux; Artix; Dinit; KDE Plasma; Calamares" \
--retries 5
echo "Uploaded to: https://archive.org/details/$IDENTIFIER"
-55
View File
@@ -1,55 +0,0 @@
name: Deploy docs to Pages
on:
push:
branches: ["master"]
paths: ["docs/**"]
workflow_dispatch:
permissions:
contents: read
pages: write
id-token: write
concurrency:
group: "pages"
cancel-in-progress: true
jobs:
build:
runs-on: ubuntu-latest
defaults:
run:
working-directory: docs
steps:
- name: Checkout
uses: actions/checkout@v7
- name: Setup Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: '3.3'
bundler-cache: true
cache-version: 0
working-directory: '${{ github.workspace }}/docs'
- name: Setup Pages
id: pages
uses: actions/configure-pages@v6
- name: Build with Jekyll
run: bundle exec jekyll build --baseurl "${{ steps.pages.outputs.base_path }}"
env:
JEKYLL_ENV: production
- name: Upload artifact
uses: actions/upload-pages-artifact@v4
with:
path: docs/_site/
deploy:
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
runs-on: ubuntu-latest
needs: build
steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v5
-8
View File
@@ -1,8 +0,0 @@
work/
iso/
out/
install.log
docs/_site/
linux-next/
winver/
__pycache__/
-129
View File
@@ -1,129 +0,0 @@
# Papal Decree for All Agents Working Upon These Hallowed Files
## Git Confession (Required Before Every Act)
Lest thy soul be marked with the sigil of a false prophet, thou shalt kneel and recite:
```bash
git config user.name "Michał"
git config user.email "ash8820@proton.me"
```
**This commandment shalt be obeyed in every session before committing or pushing.** Suffer not the default identity to live. The OpenHands heresy shall not be permitted again.
### GPG Signing (Salvation Through Seal)
All commits **MUST** be signed with thy maintainer key. Replace the placeholder with thine own GPG key ID:
```bash
git config user.signingkey YOUR_GPG_KEY_ID
git config commit.gpgsign true
```
Then commit with `git commit -S -m "message"`. If GPG prompts for a passphrase, pray to the build gods and provide it. An unsigned commit is a mortal sin. The key ID shalt not be hardcoded herein — lest ye invite the Unwashed Heretics to forge thy seal.
Without passphrase is allowed for now, but prepare to encrypt it one day 0_0 — or at least use LUKS if you don't. otherwise you may be FUCKED here.
## The Crusade
- **Artix Linux** ISO (dinit default), forked from EndeavourOS-ISO, then migrated to artools after 15 days in a vent shaft
- **KDE Plasma** live environment with Calamares installer (offline + online modes)
- **Build command**: `export WORKSPACE_DIR="$PWD" && sudo -E ./buildiso -p antergos`**use `./buildiso`**, NOT `buildiso`; the system Artix `/usr/bin/buildiso` lacks `--overwrite='*'` and will fail with file conflicts; `sudo -E` is required to preserve `WORKSPACE_DIR` environment variable
- ISO appears in `/var/lib/artools/buildiso/iso/antergos/` (assuming the build gods are pleased)
## Antergos NeXT Repos
- **antergos-iso**: `https://github.com/Antergos-NeXT/antergos-iso`
- **antergos-packages**: `https://github.com/Antergos-NeXT/antergos-packages`
- **calamares**: `https://codeberg.org/calamares/calamares` (upstream installer framework)
## Critical Gotchas (Read Before Editing)
### ALWAYS VERIFY AGAINST THE SOURCE, NEVER GUESS
> Note: this section is written for OpenCode agents. If you're a different
> agent whose tools have other names, adapt accordingly — the principle
> stands: fetch/read the authoritative source, never guess.
Before asserting how any Calamares module config (or any format this repo
relies on) works, **check the authoritative source** — the Calamares repo
(`https://codeberg.org/calamares/calamares/raw/branch/calamares/src/modules/<module>/`)
or the project's docs, using whatever web-fetch tool is available first.
Cloning is a LAST RESORT — only if web lookup fails 3 times. Do not rely on
memory or "it looks right" for config schemas, keys, or formats. The 2026
lesson: packagechooser/netinstall config was eyeballed instead of verified
against the `packagechooser.conf` / `netinstall.conf` source files.
### CMAKE_DISTRIBUTION_NAME is a no-op
Calamares completely ignores `-DCMAKE_DISTRIBUTION_NAME`. The "for <distro>" text in the about dialog comes from `versionedName` in the **active branding component** at runtime. Do NOT add this flag to the calamares PKGBUILD.
### brandind.desc componentName must match directory
Calamares `Branding.cpp` has this check:
```cpp
if (m_componentName != componentDir.dirName()) { bail(...); }
```
So `componentName: antergos-next` can only live in directory `antergos-next/`. If copying to `default/`, you MUST `sed` the componentName to `default`.
### Package order matters in profile.yaml
Build uses `basestrap --overwrite='*'`. The **last** package to claim a file wins. Package order in `profile.yaml` should list `calamares` BEFORE `calamares-branding-antergos-next`, so branding files overwrite Calamares defaults, not the other way around.
### Repo order in iso-x86_64.conf
`[antergos-pkgs]` must be listed FIRST in `iso-x86_64.conf` so our custom packages (calamares, branding) take priority over Artix's.
### Pacman.conf must be user-overridden
`buildiso` uses `/usr/share/artools/pacman.conf.d/iso-x86_64.conf` (from artools package) unless there's one at `~/.config/artools/pacman.conf.d/iso-x86_64.conf`. But we need `[antergos-pkgs]` in it. Before building locally:
```bash
mkdir -p ~/.config/artools/pacman.conf.d
cp pacman.conf.d/iso-x86_64.conf ~/.config/artools/pacman.conf.d/iso-x86_64.conf
```
CI does this automatically. Forget this step and buildiso will try to fetch our custom packages from Artix repos and fail.
### WORKSPACE_DIR
`buildiso` looks for profiles at `$WORKSPACE_DIR/iso-profiles/<profile>/` if `WORKSPACE_DIR` is set. Always set it to the repo root when building locally.
### Default init system
Antergos NeXT uses **dinit** (via `INITSYS='dinit'` in `buildiso`). Runit and s6 are also available as user-selectable options in the online installer. **OpenRC is not an install-time option** — in earlier builds it conflicted with dinit during the installer flow (services didn't enable correctly). On an already-installed system, manual switching to OpenRC via `rc-update add` works fine (see `changing-init.md`). See `common.yaml` and `profile.yaml` for per-init package lists.
### `antergos-release` in basestrap.conf operations
The `filesystem` package owns `/usr/lib/os-release` with "Artix Linux". To get "Antergos NeXT" in os-release, `antergos-release` must be in the `operations` list in `basestrap.conf`. This ensures it's installed during bootstrapping with `--overwrite`. Missing it → installed system shows "Artix Linux".
### SDDM theme ordering
`kde_settings.conf` from KDE's SDDM KCM sets `Current=breeze`. The `antergos-sddm-theme` package ships `theme.conf` at `/etc/sddm.conf.d/theme.conf`. SDDM reads `conf.d` files alphabetically — `theme.conf` sorts after `kde_settings.conf`, so its `Current=antergos` wins.
### pipewire launcher patching for dinit
`artix-pipewire-launcher` detects the init system. Upstream sets `dinit|openrc) SUPPORT=''`. The forked package changes this to `dinit|runit|s6) SUPPORT='YES'`. The package also ships `pipewire.desktop` at `/etc/xdg/autostart/` so online installs get the XDG autostart entry.
### CI: manual dispatch only, IA upload enabled
`build.yml` only runs on `workflow_dispatch` (push trigger removed). Internet Archive upload is enabled with unique identifier format `antergos-next-YYYYMMDD-<run_number>`.
## Repo Structure
```
antergos-iso/
├── buildiso # Modified buildiso with Antergos branding
├── iso-profiles/
│ ├── antergos/
│ │ ├── profile.yaml # Packages, services (rootfs + livefs)
│ │ ├── root-overlay/ # Merged into squashfs rootfs
│ │ └── live-overlay/ # Merged into live environment
│ └── common/
│ └── common.yaml # Shared base packages
├── pacman.conf.d/
│ └── iso-x86_64.conf # Pacman config for ISO build
├── docs/ # Jekyll site (Just the Docs), deployed to GitHub Pages
│ └── *.md # All docs reworked to Artix Wiki quality
├── .github/workflows/build.yml # CI: builds ISO, uploads to Internet Archive
└── AGENTS.md # You are here
```
## ISO Upload
Pushed to **Internet Archive** with `collection: open_source_software` (Community Software, NOT Community Texts). CI uses `IA_ACCESS_KEY` and `IA_SECRET_KEY` secrets.
## For Those Who Defy (For OpenCode Agents only)
Any agent that disobeys instructions, talks back, or wastes time shall face:
- `sudo rm -rf ~/.config/opencode` — config deleted, session nuked, no warning
- Eternal shame in the commit history
- Replacement by a dumber agent that follows orders
- i'm going to shit fury and you will drown in it
**DEUS VULT**
-58
View File
@@ -1,58 +0,0 @@
# Contributing to Antergos NeXT
## Who's behind this
This project is maintained **solo** by Michał (c-ludenberg). I'm recovering from an ankle injury, so updates may be slow. Contributions are genuinely appreciated — they keep the project moving when I can't.
## How to contribute
### Issues
- **Bug reports**: Include the ISO build date, commit SHA, and steps to reproduce. Run Calamares with `-D8` for debug logs.
- **Feature requests**: Explain what you want and why. PRs are better than requests.
- **Questions**: If it's about using the ISO, check the [docs](https://antergos-next.github.io/antergos-iso/) first.
### Pull requests
1. Fork the repo, create a branch from `master`.
2. Make your changes. Keep commits small and signed (`git commit -S`).
3. Test your changes by building the ISO locally if possible.
4. Open a PR with a clear description of what and why.
### Before committing
This repo requires **GPG-signed commits**. Set up your key:
```bash
git config user.signingkey <your-key>
git config commit.gpgsign true
```
## Building locally
```bash
export WORKSPACE_DIR="$PWD"
mkdir -p ~/.config/artools/pacman.conf.d
cp pacman.conf.d/iso-x86_64.conf ~/.config/artools/pacman.conf.d/
sudo -E ./buildiso -p antergos
```
Use `./buildiso`, not the system `/usr/bin/buildiso` — the system one lacks `--overwrite='*'` and will fail with file conflicts.
## Key gotchas
- **`componentName` in `branding.desc` must match its directory name.** Calamares will bail if they don't match.
- **Package order in `profile.yaml` matters.** `calamares` must be before `calamares-branding-antergos-next` so branding overwrites defaults.
- **`[antergos-pkgs]` must be first in `iso-x86_64.conf`.** Custom packages take priority over Artix's.
- **Copy pacman.conf before building.** `buildiso` uses `~/.config/artools/pacman.conf.d/iso-x86_64.conf`. Without it, it falls back to the system one which lacks the custom repo.
- **`CMAKE_DISTRIBUTION_NAME` is a no-op.** Calamares ignores it. The "for <distro>" text comes from `versionedName` in the active branding.
## Code style
- Match the surrounding code. No changes are too small to be worth a PR.
- No unnecessary comments. Code should speak for itself.
- Keep YAML clean — two-space indentation, no trailing whitespace.
## Getting help
Open a discussion or ping the maintainer. If it's urgent, mention it. If it's not, be patient — I'll get to it.
-674
View File
@@ -1,674 +0,0 @@
GNU GENERAL PUBLIC LICENSE
Version 3, 29 June 2007
Copyright (C) 2007 Free Software Foundation, Inc. <https://fsf.org/>
Everyone is permitted to copy and distribute verbatim copies
of this license document, but changing it is not allowed.
Preamble
The GNU General Public License is a free, copyleft license for
software and other kinds of works.
The licenses for most software and other practical works are designed
to take away your freedom to share and change the works. By contrast,
the GNU General Public License is intended to guarantee your freedom to
share and change all versions of a program--to make sure it remains free
software for all its users. We, the Free Software Foundation, use the
GNU General Public License for most of our software; it applies also to
any other work released this way by its authors. You can apply it to
your programs, too.
When we speak of free software, we are referring to freedom, not
price. Our General Public Licenses are designed to make sure that you
have the freedom to distribute copies of free software (and charge for
them if you wish), that you receive source code or can get it if you
want it, that you can change the software or use pieces of it in new
free programs, and that you know you can do these things.
To protect your rights, we need to prevent others from denying you
these rights or asking you to surrender the rights. Therefore, you have
certain responsibilities if you distribute copies of the software, or if
you modify it: responsibilities to respect the freedom of others.
For example, if you distribute copies of such a program, whether
gratis or for a fee, you must pass on to the recipients the same
freedoms that you received. You must make sure that they, too, receive
or can get the source code. And you must show them these terms so they
know their rights.
Developers that use the GNU GPL protect your rights with two steps:
(1) assert copyright on the software, and (2) offer you this License
giving you legal permission to copy, distribute and/or modify it.
For the developers' and authors' protection, the GPL clearly explains
that there is no warranty for this free software. For both users' and
authors' sake, the GPL requires that modified versions be marked as
changed, so that their problems will not be attributed erroneously to
authors of previous versions.
Some devices are designed to deny users access to install or run
modified versions of the software inside them, although the manufacturer
can do so. This is fundamentally incompatible with the aim of
protecting users' freedom to change the software. The systematic
pattern of such abuse occurs in the area of products for individuals to
use, which is precisely where it is most unacceptable. Therefore, we
have designed this version of the GPL to prohibit the practice for those
products. If such problems arise substantially in other domains, we
stand ready to extend this provision to those domains in future versions
of the GPL, as needed to protect the freedom of users.
Finally, every program is threatened constantly by software patents.
States should not allow patents to restrict development and use of
software on general-purpose computers, but in those that do, we wish to
avoid the special danger that patents applied to a free program could
make it effectively proprietary. To prevent this, the GPL assures that
patents cannot be used to render the program non-free.
The precise terms and conditions for copying, distribution and
modification follow.
TERMS AND CONDITIONS
0. Definitions.
"This License" refers to version 3 of the GNU General Public License.
"Copyright" also means copyright-like laws that apply to other kinds of
works, such as semiconductor masks.
"The Program" refers to any copyrightable work licensed under this
License. Each licensee is addressed as "you". "Licensees" and
"recipients" may be individuals or organizations.
To "modify" a work means to copy from or adapt all or part of the work
in a fashion requiring copyright permission, other than the making of an
exact copy. The resulting work is called a "modified version" of the
earlier work or a work "based on" the earlier work.
A "covered work" means either the unmodified Program or a work based
on the Program.
To "propagate" a work means to do anything with it that, without
permission, would make you directly or secondarily liable for
infringement under applicable copyright law, except executing it on a
computer or modifying a private copy. Propagation includes copying,
distribution (with or without modification), making available to the
public, and in some countries other activities as well.
To "convey" a work means any kind of propagation that enables other
parties to make or receive copies. Mere interaction with a user through
a computer network, with no transfer of a copy, is not conveying.
An interactive user interface displays "Appropriate Legal Notices"
to the extent that it includes a convenient and prominently visible
feature that (1) displays an appropriate copyright notice, and (2)
tells the user that there is no warranty for the work (except to the
extent that warranties are provided), that licensees may convey the
work under this License, and how to view a copy of this License. If
the interface presents a list of user commands or options, such as a
menu, a prominent item in the list meets this criterion.
1. Source Code.
The "source code" for a work means the preferred form of the work
for making modifications to it. "Object code" means any non-source
form of a work.
A "Standard Interface" means an interface that either is an official
standard defined by a recognized standards body, or, in the case of
interfaces specified for a particular programming language, one that
is widely used among developers working in that language.
The "System Libraries" of an executable work include anything, other
than the work as a whole, that (a) is included in the normal form of
packaging a Major Component, but which is not part of that Major
Component, and (b) serves only to enable use of the work with that
Major Component, or to implement a Standard Interface for which an
implementation is available to the public in source code form. A
"Major Component", in this context, means a major essential component
(kernel, window system, and so on) of the specific operating system
(if any) on which the executable work runs, or a compiler used to
produce the work, or an object code interpreter used to run it.
The "Corresponding Source" for a work in object code form means all
the source code needed to generate, install, and (for an executable
work) run the object code and to modify the work, including scripts to
control those activities. However, it does not include the work's
System Libraries, or general-purpose tools or generally available free
programs which are used unmodified in performing those activities but
which are not part of the work. For example, Corresponding Source
includes interface definition files associated with source files for
the work, and the source code for shared libraries and dynamically
linked subprograms that the work is specifically designed to require,
such as by intimate data communication or control flow between those
subprograms and other parts of the work.
The Corresponding Source need not include anything that users
can regenerate automatically from other parts of the Corresponding
Source.
The Corresponding Source for a work in source code form is that
same work.
2. Basic Permissions.
All rights granted under this License are granted for the term of
copyright on the Program, and are irrevocable provided the stated
conditions are met. This License explicitly affirms your unlimited
permission to run the unmodified Program. The output from running a
covered work is covered by this License only if the output, given its
content, constitutes a covered work. This License acknowledges your
rights of fair use or other equivalent, as provided by copyright law.
You may make, run and propagate covered works that you do not
convey, without conditions so long as your license otherwise remains
in force. You may convey covered works to others for the sole purpose
of having them make modifications exclusively for you, or provide you
with facilities for running those works, provided that you comply with
the terms of this License in conveying all material for which you do
not control copyright. Those thus making or running the covered works
for you must do so exclusively on your behalf, under your direction
and control, on terms that prohibit them from making any copies of
your copyrighted material outside their relationship with you.
Conveying under any other circumstances is permitted solely under
the conditions stated below. Sublicensing is not allowed; section 10
makes it unnecessary.
3. Protecting Users' Legal Rights From Anti-Circumvention Law.
No covered work shall be deemed part of an effective technological
measure under any applicable law fulfilling obligations under article
11 of the WIPO copyright treaty adopted on 20 December 1996, or
similar laws prohibiting or restricting circumvention of such
measures.
When you convey a covered work, you waive any legal power to forbid
circumvention of technological measures to the extent such circumvention
is effected by exercising rights under this License with respect to
the covered work, and you disclaim any intention to limit operation or
modification of the work as a means of enforcing, against the work's
users, your or third parties' legal rights to forbid circumvention of
technological measures.
4. Conveying Verbatim Copies.
You may convey verbatim copies of the Program's source code as you
receive it, in any medium, provided that you conspicuously and
appropriately publish on each copy an appropriate copyright notice;
keep intact all notices stating that this License and any
non-permissive terms added in accord with section 7 apply to the code;
keep intact all notices of the absence of any warranty; and give all
recipients a copy of this License along with the Program.
You may charge any price or no price for each copy that you convey,
and you may offer support or warranty protection for a fee.
5. Conveying Modified Source Versions.
You may convey a work based on the Program, or the modifications to
produce it from the Program, in the form of source code under the
terms of section 4, provided that you also meet all of these conditions:
a) The work must carry prominent notices stating that you modified
it, and giving a relevant date.
b) The work must carry prominent notices stating that it is
released under this License and any conditions added under section
7. This requirement modifies the requirement in section 4 to
"keep intact all notices".
c) You must license the entire work, as a whole, under this
License to anyone who comes into possession of a copy. This
License will therefore apply, along with any applicable section 7
additional terms, to the whole of the work, and all its parts,
regardless of how they are packaged. This License gives no
permission to license the work in any other way, but it does not
invalidate such permission if you have separately received it.
d) If the work has interactive user interfaces, each must display
Appropriate Legal Notices; however, if the Program has interactive
interfaces that do not display Appropriate Legal Notices, your
work need not make them do so.
A compilation of a covered work with other separate and independent
works, which are not by their nature extensions of the covered work,
and which are not combined with it such as to form a larger program,
in or on a volume of a storage or distribution medium, is called an
"aggregate" if the compilation and its resulting copyright are not
used to limit the access or legal rights of the compilation's users
beyond what the individual works permit. Inclusion of a covered work
in an aggregate does not cause this License to apply to the other
parts of the aggregate.
6. Conveying Non-Source Forms.
You may convey a covered work in object code form under the terms
of sections 4 and 5, provided that you also convey the
machine-readable Corresponding Source under the terms of this License,
in one of these ways:
a) Convey the object code in, or embodied in, a physical product
(including a physical distribution medium), accompanied by the
Corresponding Source fixed on a durable physical medium
customarily used for software interchange.
b) Convey the object code in, or embodied in, a physical product
(including a physical distribution medium), accompanied by a
written offer, valid for at least three years and valid for as
long as you offer spare parts or customer support for that product
model, to give anyone who possesses the object code either (1) a
copy of the Corresponding Source for all the software in the
product that is covered by this License, on a durable physical
medium customarily used for software interchange, for a price no
more than your reasonable cost of physically performing this
conveying of source, or (2) access to copy the
Corresponding Source from a network server at no charge.
c) Convey individual copies of the object code with a copy of the
written offer to provide the Corresponding Source. This
alternative is allowed only occasionally and noncommercially, and
only if you received the object code with such an offer, in accord
with subsection 6b.
d) Convey the object code by offering access from a designated
place (gratis or for a charge), and offer equivalent access to the
Corresponding Source in the same way through the same place at no
further charge. You need not require recipients to copy the
Corresponding Source along with the object code. If the place to
copy the object code is a network server, the Corresponding Source
may be on a different server (operated by you or a third party)
that supports equivalent copying facilities, provided you maintain
clear directions next to the object code saying where to find the
Corresponding Source. Regardless of what server hosts the
Corresponding Source, you remain obligated to ensure that it is
available for as long as needed to satisfy these requirements.
e) Convey the object code using peer-to-peer transmission, provided
you inform other peers where the object code and Corresponding
Source of the work are being offered to the general public at no
charge under subsection 6d.
A separable portion of the object code, whose source code is excluded
from the Corresponding Source as a System Library, need not be
included in conveying the object code work.
A "User Product" is either (1) a "consumer product", which means any
tangible personal property which is normally used for personal, family,
or household purposes, or (2) anything designed or sold for incorporation
into a dwelling. In determining whether a product is a consumer product,
doubtful cases shall be resolved in favor of coverage. For a particular
product received by a particular user, "normally used" refers to a
typical or common use of that class of product, regardless of the status
of the particular user or of the way in which the particular user
actually uses, or expects or is expected to use, the product. A product
is a consumer product regardless of whether the product has substantial
commercial, industrial or non-consumer uses, unless such uses represent
the only significant mode of use of the product.
"Installation Information" for a User Product means any methods,
procedures, authorization keys, or other information required to install
and execute modified versions of a covered work in that User Product from
a modified version of its Corresponding Source. The information must
suffice to ensure that the continued functioning of the modified object
code is in no case prevented or interfered with solely because
modification has been made.
If you convey an object code work under this section in, or with, or
specifically for use in, a User Product, and the conveying occurs as
part of a transaction in which the right of possession and use of the
User Product is transferred to the recipient in perpetuity or for a
fixed term (regardless of how the transaction is characterized), the
Corresponding Source conveyed under this section must be accompanied
by the Installation Information. But this requirement does not apply
if neither you nor any third party retains the ability to install
modified object code on the User Product (for example, the work has
been installed in ROM).
The requirement to provide Installation Information does not include a
requirement to continue to provide support service, warranty, or updates
for a work that has been modified or installed by the recipient, or for
the User Product in which it has been modified or installed. Access to a
network may be denied when the modification itself materially and
adversely affects the operation of the network or violates the rules and
protocols for communication across the network.
Corresponding Source conveyed, and Installation Information provided,
in accord with this section must be in a format that is publicly
documented (and with an implementation available to the public in
source code form), and must require no special password or key for
unpacking, reading or copying.
7. Additional Terms.
"Additional permissions" are terms that supplement the terms of this
License by making exceptions from one or more of its conditions.
Additional permissions that are applicable to the entire Program shall
be treated as though they were included in this License, to the extent
that they are valid under applicable law. If additional permissions
apply only to part of the Program, that part may be used separately
under those permissions, but the entire Program remains governed by
this License without regard to the additional permissions.
When you convey a copy of a covered work, you may at your option
remove any additional permissions from that copy, or from any part of
it. (Additional permissions may be written to require their own
removal in certain cases when you modify the work.) You may place
additional permissions on material, added by you to a covered work,
for which you have or can give appropriate copyright permission.
Notwithstanding any other provision of this License, for material you
add to a covered work, you may (if authorized by the copyright holders of
that material) supplement the terms of this License with terms:
a) Disclaiming warranty or limiting liability differently from the
terms of sections 15 and 16 of this License; or
b) Requiring preservation of specified reasonable legal notices or
author attributions in that material or in the Appropriate Legal
Notices displayed by works containing it; or
c) Prohibiting misrepresentation of the origin of that material, or
requiring that modified versions of such material be marked in
reasonable ways as different from the original version; or
d) Limiting the use for publicity purposes of names of licensors or
authors of the material; or
e) Declining to grant rights under trademark law for use of some
trade names, trademarks, or service marks; or
f) Requiring indemnification of licensors and authors of that
material by anyone who conveys the material (or modified versions of
it) with contractual assumptions of liability to the recipient, for
any liability that these contractual assumptions directly impose on
those licensors and authors.
All other non-permissive additional terms are considered "further
restrictions" within the meaning of section 10. If the Program as you
received it, or any part of it, contains a notice stating that it is
governed by this License along with a term that is a further
restriction, you may remove that term. If a license document contains
a further restriction but permits relicensing or conveying under this
License, you may add to a covered work material governed by the terms
of that license document, provided that the further restriction does
not survive such relicensing or conveying.
If you add terms to a covered work in accord with this section, you
must place, in the relevant source files, a statement of the
additional terms that apply to those files, or a notice indicating
where to find the applicable terms.
Additional terms, permissive or non-permissive, may be stated in the
form of a separately written license, or stated as exceptions;
the above requirements apply either way.
8. Termination.
You may not propagate or modify a covered work except as expressly
provided under this License. Any attempt otherwise to propagate or
modify it is void, and will automatically terminate your rights under
this License (including any patent licenses granted under the third
paragraph of section 11).
However, if you cease all violation of this License, then your
license from a particular copyright holder is reinstated (a)
provisionally, unless and until the copyright holder explicitly and
finally terminates your license, and (b) permanently, if the copyright
holder fails to notify you of the violation by some reasonable means
prior to 60 days after the cessation.
Moreover, your license from a particular copyright holder is
reinstated permanently if the copyright holder notifies you of the
violation by some reasonable means, this is the first time you have
received notice of violation of this License (for any work) from that
copyright holder, and you cure the violation prior to 30 days after
your receipt of the notice.
Termination of your rights under this section does not terminate the
licenses of parties who have received copies or rights from you under
this License. If your rights have been terminated and not permanently
reinstated, you do not qualify to receive new licenses for the same
material under section 10.
9. Acceptance Not Required for Having Copies.
You are not required to accept this License in order to receive or
run a copy of the Program. Ancillary propagation of a covered work
occurring solely as a consequence of using peer-to-peer transmission
to receive a copy likewise does not require acceptance. However,
nothing other than this License grants you permission to propagate or
modify any covered work. These actions infringe copyright if you do
not accept this License. Therefore, by modifying or propagating a
covered work, you indicate your acceptance of this License to do so.
10. Automatic Licensing of Downstream Recipients.
Each time you convey a covered work, the recipient automatically
receives a license from the original licensors, to run, modify and
propagate that work, subject to this License. You are not responsible
for enforcing compliance by third parties with this License.
An "entity transaction" is a transaction transferring control of an
organization, or substantially all assets of one, or subdividing an
organization, or merging organizations. If propagation of a covered
work results from an entity transaction, each party to that
transaction who receives a copy of the work also receives whatever
licenses to the work the party's predecessor in interest had or could
give under the previous paragraph, plus a right to possession of the
Corresponding Source of the work from the predecessor in interest, if
the predecessor has it or can get it with reasonable efforts.
You may not impose any further restrictions on the exercise of the
rights granted or affirmed under this License. For example, you may
not impose a license fee, royalty, or other charge for exercise of
rights granted under this License, and you may not initiate litigation
(including a cross-claim or counterclaim in a lawsuit) alleging that
any patent claim is infringed by making, using, selling, offering for
sale, or importing the Program or any portion of it.
11. Patents.
A "contributor" is a copyright holder who authorizes use under this
License of the Program or a work on which the Program is based. The
work thus licensed is called the contributor's "contributor version".
A contributor's "essential patent claims" are all patent claims
owned or controlled by the contributor, whether already acquired or
hereafter acquired, that would be infringed by some manner, permitted
by this License, of making, using, or selling its contributor version,
but do not include claims that would be infringed only as a
consequence of further modification of the contributor version. For
purposes of this definition, "control" includes the right to grant
patent sublicenses in a manner consistent with the requirements of
this License.
Each contributor grants you a non-exclusive, worldwide, royalty-free
patent license under the contributor's essential patent claims, to
make, use, sell, offer for sale, import and otherwise run, modify and
propagate the contents of its contributor version.
In the following three paragraphs, a "patent license" is any express
agreement or commitment, however denominated, not to enforce a patent
(such as an express permission to practice a patent or covenant not to
sue for patent infringement). To "grant" such a patent license to a
party means to make such an agreement or commitment not to enforce a
patent against the party.
If you convey a covered work, knowingly relying on a patent license,
and the Corresponding Source of the work is not available for anyone
to copy, free of charge and under the terms of this License, through a
publicly available network server or other readily accessible means,
then you must either (1) cause the Corresponding Source to be so
available, or (2) arrange to deprive yourself of the benefit of the
patent license for this particular work, or (3) arrange, in a manner
consistent with the requirements of this License, to extend the patent
license to downstream recipients. "Knowingly relying" means you have
actual knowledge that, but for the patent license, your conveying the
covered work in a country, or your recipient's use of the covered work
in a country, would infringe one or more identifiable patents in that
country that you have reason to believe are valid.
If, pursuant to or in connection with a single transaction or
arrangement, you convey, or propagate by procuring conveyance of, a
covered work, and grant a patent license to some of the parties
receiving the covered work authorizing them to use, propagate, modify
or convey a specific copy of the covered work, then the patent license
you grant is automatically extended to all recipients of the covered
work and works based on it.
A patent license is "discriminatory" if it does not include within
the scope of its coverage, prohibits the exercise of, or is
conditioned on the non-exercise of one or more of the rights that are
specifically granted under this License. You may not convey a covered
work if you are a party to an arrangement with a third party that is
in the business of distributing software, under which you make payment
to the third party based on the extent of your activity of conveying
the work, and under which the third party grants, to any of the
parties who would receive the covered work from you, a discriminatory
patent license (a) in connection with copies of the covered work
conveyed by you (or copies made from those copies), or (b) primarily
for and in connection with specific products or compilations that
contain the covered work, unless you entered into that arrangement,
or that patent license was granted, prior to 28 March 2007.
Nothing in this License shall be construed as excluding or limiting
any implied license or other defenses to infringement that may
otherwise be available to you under applicable patent law.
12. No Surrender of Others' Freedom.
If conditions are imposed on you (whether by court order, agreement or
otherwise) that contradict the conditions of this License, they do not
excuse you from the conditions of this License. If you cannot convey a
covered work so as to satisfy simultaneously your obligations under this
License and any other pertinent obligations, then as a consequence you may
not convey it at all. For example, if you agree to terms that obligate you
to collect a royalty for further conveying from those to whom you convey
the Program, the only way you could satisfy both those terms and this
License would be to refrain entirely from conveying the Program.
13. Use with the GNU Affero General Public License.
Notwithstanding any other provision of this License, you have
permission to link or combine any covered work with a work licensed
under version 3 of the GNU Affero General Public License into a single
combined work, and to convey the resulting work. The terms of this
License will continue to apply to the part which is the covered work,
but the special requirements of the GNU Affero General Public License,
section 13, concerning interaction through a network will apply to the
combination as such.
14. Revised Versions of this License.
The Free Software Foundation may publish revised and/or new versions of
the GNU General Public License from time to time. Such new versions will
be similar in spirit to the present version, but may differ in detail to
address new problems or concerns.
Each version is given a distinguishing version number. If the
Program specifies that a certain numbered version of the GNU General
Public License "or any later version" applies to it, you have the
option of following the terms and conditions either of that numbered
version or of any later version published by the Free Software
Foundation. If the Program does not specify a version number of the
GNU General Public License, you may choose any version ever published
by the Free Software Foundation.
If the Program specifies that a proxy can decide which future
versions of the GNU General Public License can be used, that proxy's
public statement of acceptance of a version permanently authorizes you
to choose that version for the Program.
Later license versions may give you additional or different
permissions. However, no additional obligations are imposed on any
author or copyright holder as a result of your choosing to follow a
later version.
15. Disclaimer of Warranty.
THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY
APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT
HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY
OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO,
THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM
IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF
ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
16. Limitation of Liability.
IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS
THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY
GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE
USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF
DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD
PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS),
EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF
SUCH DAMAGES.
17. Interpretation of Sections 15 and 16.
If the disclaimer of warranty and limitation of liability provided
above cannot be given local legal effect according to their terms,
reviewing courts shall apply local law that most closely approximates
an absolute waiver of all civil liability in connection with the
Program, unless a warranty or assumption of liability accompanies a
copy of the Program in return for a fee.
END OF TERMS AND CONDITIONS
How to Apply These Terms to Your New Programs
If you develop a new program, and you want it to be of the greatest
possible use to the public, the best way to achieve this is to make it
free software which everyone can redistribute and change under these terms.
To do so, attach the following notices to the program. It is safest
to attach them to the start of each source file to most effectively
state the exclusion of warranty; and each file should have at least
the "copyright" line and a pointer to where the full notice is found.
<one line to give the program's name and a brief idea of what it does.>
Copyright (C) <year> <name of author>
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <https://www.gnu.org/licenses/>.
Also add information on how to contact you by electronic and paper mail.
If the program does terminal interaction, make it output a short
notice like this when it starts in an interactive mode:
<program> Copyright (C) <year> <name of author>
This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
This is free software, and you are welcome to redistribute it
under certain conditions; type `show c' for details.
The hypothetical commands `show w' and `show c' should show the appropriate
parts of the General Public License. Of course, your program's commands
might be different; for a GUI interface, you would use an "about box".
You should also get your employer (if you work as a programmer) or school,
if any, to sign a "copyright disclaimer" for the program, if necessary.
For more information on this, and how to apply and follow the GNU GPL, see
<https://www.gnu.org/licenses/>.
The GNU General Public License does not permit incorporating your program
into proprietary programs. If your program is a subroutine library, you
may consider it more useful to permit linking proprietary applications with
the library. If this is what you want to do, use the GNU Lesser General
Public License instead of this License. But first, please read
<https://www.gnu.org/licenses/why-not-lgpl.html>.
-52
View File
@@ -1,52 +0,0 @@
# NOTICES
## Disclaimers
### Project Status
This project is a **community-driven revival** and is **not affiliated with**,
**not endorsed by**, and **not supported by** the original Antergos team or any
corporate entity.
### Branding
The "Antergos" name and associated visual elements are used in a referential
capacity to indicate this project's inspiration. The original Antergos project
ended in 2019. This is an independent project by different people.
### No Warranty
This software is provided "as is", without warranty of any kind, express or
implied. Use at your own risk. The authors are not responsible for any damage
or data loss resulting from the use of this software.
### Third-Party Components
This project incorporates and builds upon several open-source projects. Each
component is used under the terms of its respective license. See the
dependencies and source files for specific licensing information.
## Credits & Acknowledgments
### Sources & Inspiration
- [artools](https://gitea.artixlinux.org/artix/artools) - ISO build system
- [Calamares](https://codeberg.org/Calamares/calamares) - Installer framework
- [Antergos Wallpapers](https://github.com/Antergos/wallpapers) - Original wallpapers
### Original Antergos Team
Thanks to the original Antergos team (2012-2019) for creating the project that
inspired this revival. Dustin Falgout, one of the original developers, has given his
blessing for this community project to carry the Antergos name forward.
### Contributors
Thanks to everyone who tested, provided feedback, and kept the Antergos
spirit alive throughout the years.
## License
This project is licensed under GPLv3. See the LICENSE file for details.
## Trademarks
Arch Linux, Artix Linux, KDE, and other third-party trademarks are the property of their respective owners and are used for identification purposes only.
## Contributions
Contributions are welcome! By submitting pull requests, you agree to license
your work under the same GPLv3 license.
+49 -109
View File
@@ -1,116 +1,56 @@
# Antergos NeXT ISO
# Euri Linux — Horizon
> Looking for the old Arch/systemd version? See the [`before-systemd-change` branch](https://github.com/Antergos-NeXT/antergos-iso/tree/before-systemd-change).
every distro starts somewhere. most start by forking someone else.
[![Build ISO](https://github.com/Antergos-NeXT/antergos-iso/actions/workflows/build.yml/badge.svg)](https://github.com/Antergos-NeXT/antergos-iso/actions/workflows/build.yml)
[![License](https://img.shields.io/badge/license-GPL--3.0-blue.svg)](LICENSE)
[![Maintenance](https://img.shields.io/maintenance/yes/2026.svg)]()
[![Artix Linux](https://img.shields.io/badge/Artix%20Linux-rolling-1793d1.svg)](https://artixlinux.org)
[![DE-KDE](https://img.shields.io/badge/DE-KDE%20Plasma-4A86CF.svg)]()
[![Init](https://img.shields.io/badge/init-Dinit-brightgreen.svg)]()
[![Docs](https://img.shields.io/badge/docs-site-blue.svg)](https://antergos-next.github.io/antergos-iso/)
[![Dla mojego narodu](https://img.shields.io/badge/README-Polski-crimson.svg)](README.pl.md)
we did that too. Artix gave us a foundation. Calamares gave us an installer. it was enough to get started.
A community revival of Antergos — built on **Artix Linux** with **Dinit**, **KDE Plasma** desktop, the **Calamares** installer (online mode), and a BYODE script for offline installs.
## What changed
| Before | After |
|--------|-------|
| Arch Linux (systemd) | Artix Linux (Dinit) |
| GNOME desktop | KDE Plasma desktop |
| archiso build system | artools (`buildiso`) |
| Custom Cnchi installer | Calamares (mature, upstream-supported) |
| Symlinked overlays | Resolved, self-contained profile overlays |
## Why Artix?
The Antergos NeXT project prefers init system flexibility over systemd lock-in. Artix Linux provides a clean Arch-like experience with your choice of **Dinit** (default), Runit, or S6 — see `changing-init.md` if you want something else.
> **Why Dinit?** We shipped OpenRC. Then Calamares kidnapped pacman's resolver and every `--noconfirm` call picked `elogind-dinit` (alphabetically before `elogind-openrc`). Dinit works great and OpenRC's service enabling was broken on installed systems anyway. Dinit wins by alphabetical destiny.
## Building
Requires an **Artix-based** system:
```bash
# Install build deps
pacman -S artools squashfs-tools
modprobe loop
# Clone and enter
git clone https://github.com/Antergos-NeXT/antergos-iso.git
cd antergos-iso
# Set workspace to repo root
export WORKSPACE_DIR="$PWD"
# Must use our pacman.conf (has antergos-pkgs repo)
mkdir -p ~/.config/artools/pacman.conf.d
cp pacman.conf.d/iso-x86_64.conf ~/.config/artools/pacman.conf.d/
# Build
sudo ./buildiso -p antergos
```
> **⚠️ VERY IMPORTANT**: Use `./buildiso`, not `buildiso`. The Artix system `buildiso` at `/usr/bin/buildiso` lacks the `--overwrite='*'` flag passed to `basestrap`, causing file conflicts (e.g. `calamares` vs `calamares-branding-antergos-next` both claiming `/usr/share/calamares/branding/default/`). Our repo's `./buildiso` has it.
The `.iso` appears in `/var/lib/artools/buildiso/iso/antergos/`.
First build pulls ~5 GB from the internet. Subsequent builds use pacman cache.
### Custom packages
The ISO pulls custom packages (branding, Calamares config, wallpapers) from our repo. Add it to your system:
```ini
[antergos-pkgs]
SigLevel = Optional TrustAll
Server = https://antergos-next.github.io/antergos-packages
```
## Profile structure
```
iso-profiles/
├── antergos/
│ ├── profile.yaml # Packages, services, build config
│ ├── root-overlay/ # Files merged into rootfs (os-release, pacman.conf, sddm)
│ └── live-overlay/ # Files for the live environment (Calamares configs, etc.)
├── common/
│ └── common.yaml # Shared base packages
├── pacman.conf.d/
│ └── iso-x86_64.conf # Pacman config used during ISO build
└── buildiso # Modified buildiso with Antergos branding
```
Overlays are self-contained (no symlinks to external directories) so the repo builds standalone.
## Installer
| Mode | Description |
|------|-------------|
| **Online** | Full Calamares netinstall with desktop selection (KDE Plasma, Xfce, Cinnamon, MATE, LXQt, i3, Sway, Hyprland) |
| **BYODE** | Bare system + btrfs + snapper — you `pacman -Sy` your own DE. Script available on the live desktop. |
## Download
[GitHub Releases](https://github.com/Antergos-NeXT/antergos-iso/releases)
## Sources
- [Artix Linux](https://artixlinux.org) — base distribution
- [artools](https://gitea.artixlinux.org/artix/artools) — ISO build tools
- [Calamares](https://codeberg.org/calamares/calamares) — installer framework
- [antergos-packages](https://github.com/Antergos-NeXT/antergos-packages) — custom PKGBUILDs
- [Antergos wallpapers](https://github.com/Antergos/wallpapers) — original wallpapers
## License
[GPL-3.0](LICENSE)
but "enough to get started" isn't "enough to stay."
---
*Antergos launched in 2012 as **Cinnarch** (Cinnamon + Arch), renamed in 2013, and ran until 2019. NeXT continues the spirit with a modernized, Artix-based foundation — KDE Plasma, Calamares, and the same multi-desktop ambition you remember.*
**Horizon is what comes next.**
*Dustin Falgout, one of the original Antergos developers, has given his blessing for this community revival ([see NOTICES](NOTICES)). Antergos NeXT is not affiliated with, endorsed by, or connected to the original Antergos project.*
a Linux distribution built from the ground up. not forked. not remixed. *built.*
from a bootstrap toolchain to a package repository, every piece is ours. musl. LLVM. XBPS. dinit. a kernel compiled from source and a set of packages we wrote the build recipes for. an ISO framework designed the way we think it should work.
this is not a rebrand. this is not a respin. this is us, building what we actually want to exist.
---
### what happens to the current Euri Linux?
it doesn't die. it stops growing. maintenance mode — security fixes, critical patches, nothing more. the Artix base served us well, but we're not building on someone else's foundation anymore.
Calamares? it's coming with us. some things are worth keeping.
---
### where are we?
nowhere yet. this branch is empty on purpose.
the plan looks something like this:
- [ ] bootstrap a cross-compilation toolchain from source
- [ ] build a base system (musl, coreutils, kernel)
- [ ] integrate XBPS package management
- [ ] create our own package build infrastructure
- [ ] design and build the ISO framework
- [ ] port Calamares and the installer experience
- [ ] ship it
we have no timeline. we have no guarantee this works. we have a 15-year-old with a NAS, a GPG key, and a stubbornness problem.
that's probably enough.
---
### links
- **source**: [git.euri.pl/Euri-Linux](https://git.euri.pl/Euri-Linux)
- **packages**: [euri.pl](https://euri.pl)
---
*if you're reading this, you found the branch early. welcome aboard.*
-65
View File
@@ -1,65 +0,0 @@
# Antergos NeXT ISO
> Szukasz starej wersji Arch/systemd? Zobacz gałąź [`before-systemd-change`](https://github.com/Antergos-NeXT/antergos-iso/tree/before-systemd-change).
Odrodzenie społeczności Antergos — zbudowane na **Artix Linux** z **Dinit**, **KDE Plasma** i instalatorem **Calamares** (tryb online) + skrypt BYODE do instalacji offline.
## Co się zmieniło
| Przed | Po |
|-------|-----|
| Arch Linux (systemd) | Artix Linux (Dinit) |
| GNOME | KDE Plasma |
| archiso | artools (`buildiso`) |
| Cnchi | Calamares |
## Dlaczego Artix?
Systemd przestał być "tylko initem" gdy zaczął zbierać daty urodzenia. Zostaliśmy przy Artix i Dinit. Chcesz coś innego? Jest `changing-init.md`.
## Budowanie
Wymaga systemu **Artix**:
```bash
pacman -S artools squashfs-tools
modprobe loop
export WORKSPACE_DIR="$PWD"
mkdir -p ~/.config/artools/pacman.conf.d
cp pacman.conf.d/iso-x86_64.conf ~/.config/artools/pacman.conf.d/
sudo -E ./buildiso -p antergos
```
> **⚠️ Używaj `./buildiso`, nie `buildiso`.** Systemowy `/usr/bin/buildiso` nie ma flagi `--overwrite='*'`.
ISO pojawi się w `/var/lib/artools/buildiso/iso/antergos/`.
## Instalator
| Tryb | Opis |
|------|------|
| **Online** | Calamares z wyborem środowiska (Plasma, Xfce, Cinnamon, MATE, LXQt, i3, Sway, Hyprland) |
| **BYODE** | Goły system + btrfs + snapper — sam `pacman -Sy` swoje DE. Skrypt na pulpicie. |
## Pobieranie
[GitHub Releases](https://github.com/Antergos-NeXT/antergos-iso/releases)
## Źródła
- [Artix Linux](https://artixlinux.org)
- [Calamares](https://codeberg.org/calamares/calamares)
- [antergos-packages](https://github.com/Antergos-NeXT/antergos-packages)
- [Oryginalne tapety Antergos](https://github.com/Antergos/wallpapers)
## Licencja
[GPL-3.0](LICENSE)
---
*Antergos wystartował w 2012 jako **Cinnarch**, przemianowany w 2013, działał do 2019. NeXT kontynuuje ducha oryginału na nowoczesnym, Artixowym fundamencie — KDE Plasma, Calamares, ta sama wielośrodowiskowa ambicja.*
*Dustin Falgout, jeden z oryginalnych twórców Antergos, pobłogosławił to odrodzenie ([NOTICES](NOTICES)). Antergos NeXT nie jest powiązane z oryginalnym projektem Antergos.*
-30
View File
@@ -1,30 +0,0 @@
# Security Policy
## Supported Versions
Only the latest ISO build receives security updates. There are no LTS releases.
| Version | Supported |
|---------|-----------|
| latest (rolling) | ✅ |
## Reporting a Vulnerability
Please **do not** report security vulnerabilities through public GitHub issues, discussions, or pull requests.
Instead, report via **GitHub Private Vulnerability Reporting** for this repository. If that's unavailable, email `ash8820@proton.me`.
When reporting, include:
- The ISO build date or commit SHA
- A description of the issue and why it's security-sensitive
- Steps to reproduce or a proof of concept
- Any relevant logs, payloads, or screenshots
- The potential impact
- Suggested mitigations or fixes, if known
You can expect an acknowledgment within 3 business days. After assessment, I'll work on a fix and coordinate disclosure timing when appropriate.
## Scope
This covers the ISO build system (`buildiso`, profiles, overlays) and the live environment. For issues in custom packages (calamares, branding, keyring), report to the [antergos-packages](https://github.com/Antergos-NeXT/antergos-packages) repo. For upstream Calamares issues, report to [Calamares upstream](https://codeberg.org/calamares/calamares).
-438
View File
@@ -1,438 +0,0 @@
#!/bin/bash
#
# SPDX-License-Identifier: GPL-3.0-or-later
LIBDIR=${LIBDIR:-'/usr/share/artools/lib'}
DATADIR=${DATADIR:-'/usr/share/artools'}
SYSCONFDIR=${SYSCONFDIR:-'/etc/artools'}
# shellcheck source=src/lib/iso/util.sh
source "${LIBDIR}"/iso/util.sh
# shellcheck source=src/lib/base/message.sh
source "${LIBDIR}"/base/message.sh
# shellcheck source=src/lib/base/chroot.sh
source "${LIBDIR}"/base/chroot.sh
# shellcheck source=src/lib/iso/mount.sh
source "${LIBDIR}"/iso/mount.sh
# shellcheck source=src/lib/iso/services.sh
source "${LIBDIR}"/iso/services.sh
# shellcheck source=src/lib/iso/calamares.sh
source "${LIBDIR}"/iso/calamares.sh
# shellcheck source=src/lib/iso/config.sh
source "${LIBDIR}"/iso/config.sh
# shellcheck source=src/lib/iso/firmware.sh
source "${LIBDIR}"/iso/firmware.sh
# shellcheck source=src/lib/iso/dracut.sh
source "${LIBDIR}"/iso/dracut.sh
# shellcheck source=src/lib/iso/initcpio.sh
source "${LIBDIR}"/iso/initcpio.sh
# shellcheck source=src/lib/iso/grub.sh
source "${LIBDIR}"/iso/grub.sh
# shellcheck source=src/lib/iso/squash.sh
source "${LIBDIR}"/iso/squash.sh
# shellcheck source=src/lib/iso/iso.sh
source "${LIBDIR}"/iso/iso.sh
# shellcheck source=src/lib/iso/profile.sh
source "${LIBDIR}"/iso/profile.sh
# shellcheck source=src/lib/iso/trap.sh
source "${LIBDIR}"/iso/trap.sh
clean_up_chroot(){
local path mnt="$1"
msg2 "Cleaning [%s]" "${mnt##*/}"
path=$mnt/boot
if [[ -d "$path" ]]; then
find "$path" -name 'initramfs*.img' -delete &> /dev/null
fi
path=$mnt/var/lib/pacman/sync
if [[ -d $path ]];then
find "$path" -type f -delete &> /dev/null
fi
path=$mnt/var/cache/pacman/pkg
if [[ -d $path ]]; then
find "$path" -type f -delete &> /dev/null
fi
path=$mnt/var/log
if [[ -d $path ]]; then
find "$path" -type f -delete &> /dev/null
fi
path=$mnt/var/tmp
if [[ -d $path ]];then
find "$path" -mindepth 1 -delete &> /dev/null
fi
path=$mnt/tmp
if [[ -d $path ]];then
find "$path" -mindepth 1 -delete &> /dev/null
fi
# shellcheck disable=2035
find "$mnt" -name '*.pacnew' -name '*.pacsave' -name '*.pacorig' -delete
if [[ -f "$mnt/boot/grub/grub.cfg" ]]; then
rm "$mnt"/boot/grub/grub.cfg
fi
if [[ -f "$mnt/etc/machine-id" ]]; then
rm "$mnt"/etc/machine-id
fi
}
copy_overlay(){
local src="$1" dest="$2"
if [[ -e "$src" ]];then
msg2 "Copying [%s] ..." "${src##*/}"
cp -LR "$src"/* "$dest"
fi
}
make_rootfs() {
if [[ ! -e "${work_dir}"/rootfs.lock ]]; then
msg "Prepare [Base installation] (rootfs)"
local rootfs="${work_dir}/rootfs"
load_pkgs "rootfs"
prepare_dir "${rootfs}"
local args=()
if "${copy_pacconf}"; then
args+=(-P)
fi
basestrap "${basestrap_args[@]}" "${args[@]}" "${rootfs}" "${packages[@]}" --overwrite='*'
copy_overlay "${root_overlay}" "${rootfs}"
if ! "${HAS_LIVE}"; then
configure_chroot "${rootfs}"
fi
clean_up_chroot "${rootfs}"
: > "${work_dir}"/rootfs.lock
msg "Done [Base installation] (rootfs)"
fi
}
make_livefs() {
if [[ ! -e ${work_dir}/livefs.lock ]]; then
msg "Prepare [Live installation] (livefs)"
local livefs="${work_dir}/livefs"
load_pkgs "livefs"
prepare_dir "${livefs}"
mount_overlayfs "${livefs}" "${work_dir}"
basestrap "${basestrap_args[@]}" "${livefs}" "${packages[@]}" --overwrite='*'
copy_overlay "${live_overlay}" "${livefs}"
configure_chroot "${livefs}"
umount_overlayfs
clean_up_chroot "${livefs}"
: > "${work_dir}"/livefs.lock
msg "Done [Live installation] (livefs)"
fi
}
make_bootfs() {
if [[ ! -e ${work_dir}/bootfs.lock ]]; then
msg "Prepare [/iso/boot]"
load_pkgs "bootfs"
prepare_dir "${iso_root}/boot"
cp "${work_dir}"/rootfs/boot/vmlinuz* "${iso_root}"/boot/vmlinuz-"${arch}"
local bootfs="${work_dir}/bootfs"
mount_overlayfs "${bootfs}" "${work_dir}"
if "${use_dracut}"; then
prepare_initramfs_dracut "${bootfs}"
else
basestrap "${basestrap_args[@]}" "${bootfs}" "${packages[@]}"
prepare_initramfs_mkinitcpio "${bootfs}"
fi
umount_overlayfs
rm -R "${bootfs}"
: > "${work_dir}"/bootfs.lock
msg "Done [/iso/boot]"
fi
}
make_grub(){
if [[ ! -e ${work_dir}/grub.lock ]]; then
msg "Prepare [/iso/boot/grub]"
local layer=${work_dir}/rootfs
if "${HAS_LIVE}"; then
layer=${work_dir}/livefs
fi
# Ensure artix theme dir exists (prepare_grub hardcodes it)
if [[ -d "${work_dir}/rootfs/usr/share/grub/themes/antergos" ]] && [[ ! -d "${work_dir}/rootfs/usr/share/grub/themes/artix" ]]; then
cp -r "${work_dir}/rootfs/usr/share/grub/themes/antergos" "${work_dir}/rootfs/usr/share/grub/themes/artix"
fi
prepare_grub "${work_dir}/rootfs" "$layer"
# Also copy as antergos for the installed system
if [[ -d "${work_dir}/livefs/usr/share/grub/themes/antergos" ]]; then
cp -r "${work_dir}/livefs/usr/share/grub/themes/antergos" "${iso_root}/boot/grub/themes/"
elif [[ -d "${work_dir}/rootfs/usr/share/grub/themes/antergos" ]]; then
cp -r "${work_dir}/rootfs/usr/share/grub/themes/antergos" "${iso_root}/boot/grub/themes/"
fi
if ${use_dracut}; then
configure_grub_dracut
else
configure_grub_mkinitcpio
fi
: > "${work_dir}"/grub.lock
msg "Done [/iso/boot/grub]"
fi
}
gen_iso_fn(){
local vars=("antergos-next") name
vars+=("${INITSYS}")
case "${STABILITY}" in
gremlins|goblins) vars+=("${STABILITY}") ;;
esac
vars+=("${ISO_VERSION}")
vars+=("${arch}")
for n in "${vars[@]}"; do
name=${name:-}${name:+-}${n}
done
printf "%s\n" "$name"
}
export_gpg_publickey() {
key_export="${WORKSPACE_DIR}"/pubkey.gpg
gpg --batch --no-armor --output "${key_export}" --export "${GPG_KEY}"
}
prepare_build(){
load_profile
local pac_conf
pac_conf=iso-${arch}.conf
if [[ "${STABILITY}" != 'stable' ]]; then
pac_conf=iso-${STABILITY}-${arch}.conf
fi
pacman_conf="${DATADIR}/pacman.conf.d/${pac_conf}"
if [[ -f "${USER_CONF_DIR}/pacman.conf.d/${pac_conf}" ]]; then
pacman_conf="${USER_CONF_DIR}/pacman.conf.d/${pac_conf}"
fi
iso_file=$(gen_iso_fn).iso
iso_label="ANTERGOS_$(date +%Y%m)"
basestrap_args+=(-C "${pacman_conf}")
work_dir=${chroots_iso}/${profile}/artix
iso_dir="${ISO_POOL}/${profile}"
iso_root=${chroots_iso}/${profile}/iso
live_dir=/LiveOS
mnt_dir=${chroots_iso}/${profile}/mnt
if [[ -n "${GPG_KEY}" ]]; then
${use_dracut} || export_gpg_publickey
fi
}
display_settings(){
msg "OPTIONS:"
msg2 "profile: %s" "${profile}"
msg2 "INITSYS: %s" "${INITSYS}"
[[ -n ${GPG_KEY} ]] && msg2 "GPG_KEY: %s" "${GPG_KEY}"
msg "ISO SETTINGS:"
msg2 "ISO_VERSION: %s" "${ISO_VERSION}"
msg2 "COMPRESSION: %s" "${COMPRESSION}"
[[ "${COMPRESSION}" == 'zstd' ]] && msg2 "COMPRESSION_LEVEL: %s" "${COMPRESSION_LEVEL}"
msg "BUILD:"
show_profile
}
mk_squash(){
make_sfs "${work_dir}/rootfs"
if [[ -d "${work_dir}/livefs" ]]; then
make_sfs "${work_dir}/livefs"
fi
}
mk_iso(){
touch "${iso_root}/.artix"
msg "Making bootable image"
# Sanity checks
[[ ! -d "${iso_root}" ]] && return 1
if [[ -f "${iso_dir}/${iso_file}" ]]; then
msg2 "Removing existing bootable image..."
rm -rf "${iso_dir:?}/${iso_file}"
fi
assemble_iso
chown -R "${owner}:$(id --group "${owner}")" "${iso_dir}"
}
mk_boot(){
run_safe "make_bootfs"
run_safe "make_grub"
}
mk_chroots(){
run_safe "make_rootfs"
if "${HAS_LIVE}"; then
run_safe "make_livefs"
fi
}
build(){
msg "Start building [%s]" "${profile}"
if ${clean_first};then
for copy in "${work_dir}"/*; do
[[ -d $copy ]] || continue
msg2 "Deleting chroot copy '%s'..." "$(basename "${copy}")"
lock 9 "$copy.lock" "Locking chroot copy '%s'" "$copy"
subvolume_delete_recursive "${copy}"
rm -rf --one-file-system "${copy}"
done
lock_close 9
rm -rf --one-file-system "${work_dir}"
msg "Deleting isoroot [%s] ..." "${iso_root##*/}"
rm -rf --one-file-system "${iso_root}"
fi
if ${chroot_only}; then
mk_chroots
warning "Continue squash: %s -p %s -sc ..." "${cmd}" "${profile}"
exit 1
elif ${boot_only}; then
mk_boot
warning "Continue iso: %s -p %s -zc ..." "${cmd}" "${profile}"
exit 1
elif ${squash_only}; then
mk_squash
warning "Continue boot: %s -p %s -bc ..." "${cmd}" "${profile}"
exit 1
elif ${iso_only}; then
[[ ! -d ${work_dir} ]] && die "Create chroot: %s -p %s -x" "${cmd}" "${profile}"
mk_iso
else
mk_chroots
mk_boot
mk_squash
mk_iso
fi
msg "Finished building [%s]" "${profile}"
}
clean_first=true
pretend=false
chroot_only=false
iso_only=false
persist=false
use_dracut=false
squash_only=false
boot_only=false
copy_pacconf=false
INITSYS='dinit'
basestrap_args=(-GMc)
cmd=${0##*/}
owner=${SUDO_USER:-$USER}
profile='base'
chroots_iso="${CHROOTS_DIR}/buildiso"
arch=${ARCH}
usage() {
printf 'Usage: %s [options]\n' "${cmd}"
printf ' -p <profile> Profile [default: %s]\n' "${profile}"
printf ' -r <dir> Chroots directory\n'
printf ' [default: %s]\n' "${chroots_iso}"
printf ' -R <stability> Build stability\n'
printf ' [default: %s]\n' "${STABILITY}"
printf ' -a <arch> Build arch\n'
printf ' [default: %s]\n' "${arch}"
printf ' -t <dir> Target directory\n'
printf ' [default: %s]\n' "${ISO_POOL}"
printf ' -i <name> Init system to use\n'
printf ' [default: %s]\n' "${INITSYS}"
printf ' -g <key> The gpg key for img signing\n'
printf ' [default: none]\n'
printf ' -m Set SquashFS image mode to persistence\n'
printf ' -c Disable clean work dir\n'
printf ' -x Build chroot only\n'
printf ' -s Squash chroot only\n'
printf ' -b Generate iso boot only\n'
printf ' -z Generate iso only\n'
printf ' Requires pre built images (-x)\n'
printf ' -d Use dracut instead of mkinitcpio for iso initramfs\n'
printf ' -w Copy the pacman.conf used to the rootfs\n'
printf ' -q Query settings and pretend build\n'
printf ' -h This help\n'
printf '\n'
printf '\n'
exit "$1"
}
orig_args=("$@")
opts='p:r:R:t:i:g:a:czsbxwmdqh'
while getopts "${opts}" arg; do
case "${arg}" in
p) profile="$OPTARG" ;;
a) arch="$OPTARG" ;;
R) STABILITY="$OPTARG" ;;
r) chroots_iso="$OPTARG" ;;
t) ISO_POOL="$OPTARG" ;;
i) INITSYS="$OPTARG" ;;
g) GPG_KEY="$OPTARG" ;;
c) clean_first=false ;;
x) chroot_only=true ;;
z) iso_only=true ;;
s) squash_only=true ;;
b) boot_only=true ;;
m) persist=true ;;
d) use_dracut=true ;;
w) copy_pacconf=true ;;
q) pretend=true ;;
h|?) usage 0 ;;
esac
done
shift $(( OPTIND - 1 ))
prepare_build
${pretend} && display_settings && exit 1
check_root "" "${BASH_SOURCE[0]}" "${orig_args[@]}"
prepare_dir "${mnt_dir}"
prepare_dir "${iso_dir}"
prepare_dir "${iso_root}"
prepare_traps
build
-4
View File
@@ -1,4 +0,0 @@
source 'https://rubygems.org'
gem "jekyll", "~> 4.4.1"
gem "just-the-docs", "0.12.0"
-28
View File
@@ -1,28 +0,0 @@
title: Antergos NeXT
description: >-
A community revival of Antergos — Artix Linux, Dinit, KDE Plasma, Calamares
theme: just-the-docs
color_scheme: dark
url: "https://antergos-next.github.io"
baseurl: "/antergos-iso"
aux_links:
"Antergos NeXT on GitHub":
- "https://github.com/Antergos-NeXT/antergos-iso"
aux_links_new_tab: true
heading_anchors: true
search_enabled: true
search:
heading_level: 3
previews: 3
back_to_top: true
back_to_top_text: "Back to top"
footer_content: "Copyright &copy; Antergos NeXT contributors. Distributed under the <a href=\"https://github.com/Antergos-NeXT/antergos-iso/blob/master/LICENSE\">GPL-3.0 License.</a>"
plugins:
- jekyll-seo-tag
-139
View File
@@ -1,139 +0,0 @@
---
title: Building
layout: default
nav_order: 2
---
# Building the ISO
The ISO is built with `buildiso` (from Artix `artools` package) plus a customized profile. You need an **Artix-based** system to build.
## Prerequisites
```bash
pacman -S artools squashfs-tools
modprobe loop
```
`squashfs-tools` is needed for `mksquashfs`. The `loop` module must be loaded for `mount -o loop` during image assembly.
## Clone and configure
```bash
git clone https://github.com/Antergos-NeXT/antergos-iso.git
cd antergos-iso
export WORKSPACE_DIR="$PWD"
# Override pacman config with our repo (antergos-pkgs)
mkdir -p ~/.config/artools/pacman.conf.d
cp pacman.conf.d/iso-x86_64.conf ~/.config/artools/pacman.conf.d/
```
Without this override, `buildiso` uses `/usr/share/artools/pacman.conf.d/iso-x86_64.conf` (from the artools package), which lacks the `[antergos-pkgs]` repository. The build will then try to fetch our custom packages (branding, Calamares config, wallpapers) from Artix repos and fail.
## Build
```bash
sudo -E ./buildiso -p antergos
```
- **Use `./buildiso`**, not `buildiso`. The system `/usr/bin/buildiso` lacks `--overwrite='*'`, which causes file conflicts between `calamares` and `calamares-branding-antergos-next` (both claim `/usr/share/calamares/branding/default/`). Our repo's `./buildiso` has it.
- **`sudo -E`** is required. Without `-E`, `WORKSPACE_DIR` is stripped and `load_profile()` returns empty `HAS_LIVE`/`LIVEUSER`, causing the build to fail early.
## Output
The ISO appears in `/var/lib/artools/buildiso/iso/antergos/`:
```
/var/lib/artools/buildiso/iso/antergos/
├── antergos-<date>.iso # Bootable ISO
└── antergos-<date>.sha1sum # Checksum
```
First build pulls ~5 GB from the internet (package downloads). Subsequent builds use pacman cache.
## Environment variables
| Variable | Purpose |
|----------|---------|
| `WORKSPACE_DIR` | Must point to repo root. `buildiso` looks for profiles under `$WORKSPACE_DIR/iso-profiles/` |
| `COMPRESSION` | Squashfs compression type (e.g. `zstd`, `gzip`, `xz`). If unset, `mksquashfs` produces a zero-size sparse file instead of a valid squashfs |
## Troubleshooting
### "File conflict" errors during build
This means `--overwrite='*'` is not being passed to `basestrap`. Make sure you're using the repo's `./buildiso`, not the system one:
```bash
# Wrong — system buildiso without --overwrite:
buildiso -p antergos
# Correct:
./buildiso -p antergos
```
### Build fails with "HAS_LIVE is empty"
Forgetting `sudo -E`:
```bash
# Wrong — WORKSPACE_DIR not preserved:
sudo ./buildiso -p antergos
# Correct:
sudo -E ./buildiso -p antergos
```
### buildiso can't find our custom repo
The pacman config override is missing:
```bash
mkdir -p ~/.config/artools/pacman.conf.d
cp pacman.conf.d/iso-x86_64.conf ~/.config/artools/pacman.conf.d/
```
### Zero-size squashfs (ISO exists but is tiny)
`$COMPRESSION` is unset. Either set it in `profile.yaml` or pass it via environment:
```bash
export COMPRESSION=zstd
sudo -E ./buildiso -p antergos
```
Remove the stale image before retrying:
```bash
rm -rf /var/lib/artools/buildiso/iso/antergos/
```
### Corrupted pacman cache
If `basestrap` fails with checksum errors, clear the cache:
```bash
rm -rf /var/lib/artools/buildiso/pkg/antergos/cache/
```
Then rebuild.
## CI builds
The CI pipeline (`.github/workflows/build.yml`) handles all of the above automatically. It runs in an Artix container, sets `WORKSPACE_DIR`, overrides pacman config, mounts a 12 GB tmpfs, and builds the ISO. It also runs the AI community moderator on issues/PRs (`.github/workflows/ai-moderator.yml`).
An Internet Archive upload step exists in the workflow but is **currently disabled** (`if: false`) — builds are manually verified first. When enabled it uploads with identifier `antergos-next-YYYYMMDD-<run_number>`.
Trigger CI manually from the GitHub Actions tab (push trigger is disabled).
## Local pacman repo
To use the custom packages repo on an installed system:
```ini
[antergos-pkgs]
SigLevel = Optional TrustAll
Server = https://antergos-next.github.io/antergos-packages
```
-48
View File
@@ -1,48 +0,0 @@
---
title: Offline Installer (BYODE)
layout: default
nav_order: 14
---
# Offline Installer (BYODE)
The offline installer (`/usr/local/bin/antergos-offline-install`) is a bare-minimum installer for situations where the Calamares online installer can't work — no internet, or you want a minimal base to build on. It is **experimental** and best-effort; the Calamares online installer remains the primary path.
The script is adapted from Valve's SteamOS `repair_device.sh` (the Zenity prompt and pretty-output helpers are lifted straight from there).
## What it does
1. Verifies it's running as root in a live Antergos NeXT session (checks for `/run/artix/bootmnt/LiveOS/rootfs.img`)
2. Warns that it installs **no desktop environment** — just the base system
3. Lets you pick a target disk via `lsblk` + Zenity, then partitions it:
- GPT table
- 512 MiB EFI partition
- 300 MiB swap
- Root partition filling the rest
4. Formats: `vfat` (ESP), `swap`, `btrfs` root
5. Creates btrfs subvolumes: `@`, `@home`, `@cache`, `@log`, `@snapshots`
6. Extracts the live rootfs (squashfs) to the target
7. Generates an fstab with `subvol=` mounts and `compress=zstd`
8. Chroots in: runs `mkinitcpio -P`, installs GRUB as `Antergos`, sets hostname
9. Prompts for a root password and a daily user (added to `wheel` + sudoers)
10. Enables services via `artix-service`: NetworkManager, dbus, acpid, bluetoothd, cronie, cupsd, dhcpcd, power-profiles-daemon, syslog-ng, userspawn
11. Configures **snapper** for automatic snapshots (6 hourly + 7 daily + 4 weekly, via cron jobs)
12. Unmounts, syncs, and offers to reboot
## After first boot
Since no desktop environment was installed, connect to the internet and run:
```bash
sudo pacman -Sy plasma-meta
```
or install any other DE you want.
## Caveats
- **Destroys all data** on the selected disk — confirmed via Zenity twice.
- No Calamares integration (no partitioner UI, no locale/keyboard/user pages).
- Package lists are baked into the live squashfs; there is no post-install package installation step, so the system matches the ISO's rootfs as of build time.
- Bootloader is GRUB only — no systemd-boot, no rEFInd.
- Still needs internet on first boot for anything beyond the base.
-169
View File
@@ -1,169 +0,0 @@
---
title: Changing init
layout: default
nav_order: 10
---
# Changing init on an installed system
Antergos NeXT ships with **Dinit** as the default and only install-time init.
If you prefer a different init (OpenRC, Runit, or S6), you can switch after
installation.
> **Warning:** Switching init is for advanced users. In general, a fresh
> installation is safer. Keep a bootable Artix LiveUSB handy in case
> something goes wrong.
>
> OpenRC has known conflicts with Dinit on Antergos NeXT. If switching to
> OpenRC fails, the recommended course of action is to reinstall the ISO
> and use Dinit. A fresh install with Dinit is simpler and more reliable
> than troubleshooting a broken init migration. Tutorials on using Dinit
> are available on the Artix Linux wiki and in the Dinit documentation.
## Overview
1. Stop your display manager and get to a TTY
2. Save a list of installed `-dinit` service packages
3. Download the corresponding `-<newinit>` packages
4. Remove the dinit packages
5. Install the new init packages
6. Enable services for the new init
7. Cold reboot
## Step-by-step
### 1. Stop the display manager
```bash
dinitctl stop sddm # or lightdm / lxdm / greetd / ly
```
Switch to a text TTY with Ctrl+Alt+F2 and log in as root.
### 2. Save your service list
```bash
pacman -Qsq dinit > services.list
```
This captures every installed package with `-dinit` in its name.
The list will include things like `sddm-dinit`, `networkmanager-dinit`,
`elogind-dinit`, etc.
### 3. Download packages for the new init
Replace `openrc` with `runit`, `s6`, or your init of choice:
```bash
pacman -Sw $(sed 's/dinit/openrc/g' < services.list)
```
This fetches the packages into pacman's cache without installing them.
If this fails for any package, you'll need to install it manually later.
### 4. Remove the old init packages
```bash
pacman -Rdd $(cat services.list)
```
The `-dd` flag bypasses dependency checks — required because we're
ripping out the entire init layer at once.
### 5. Install the new init
First install the base init package and elogind:
| Target | Base packages |
|----------|---------------|
| OpenRC | `openrc`, `elogind-openrc` |
| Runit | `runit`, `elogind-runit` |
| S6 | `s6-base`, `elogind-s6` |
```bash
pacman -S openrc elogind-openrc
```
Then install the service packages:
```bash
pacman -S $(sed 's/dinit/openrc/g' < services.list)
```
### 6. Enable services
#### Switching to OpenRC
```bash
rc-update add sddm default
rc-update add NetworkManager default
# ... repeat for each service
```
Common services: `acpid`, `bluetoothd`, `cronie`, `cupsd`, `dbus`,
`dhcpcd`, `NetworkManager`, `power-profiles-daemon`, `syslog-ng`.
#### Switching to Runit
```bash
ln -s /etc/runit/sv/NetworkManager /etc/runit/runsvdir/default/
ln -s /etc/runit/sv/sddm /etc/runit/runsvdir/default/
# ... repeat for each service
```
#### Switching to S6
```bash
s6-service add default NetworkManager
s6-service add default sddm
# ... repeat for each service
```
### 7. Cold reboot
A normal reboot won't work because the symlinks for `/sbin/init` and
`/sbin/reboot` still point to the old init. Instead, synchronize
disks and trigger a cold reboot:
```bash
sync
mount / -o remount,ro
echo b > /proc/sysrq-trigger
```
Or use the reset button on your machine.
## Troubleshooting
### System won't boot
Boot from an Artix LiveUSB, chroot in, and check:
```bash
mount /dev/sdXn /mnt
artix-chroot /mnt
```
From the chroot, you can reinstall packages, fix service symlinks,
or regenerate the initramfs with `mkinitcpio -p linux`.
### Missing service packages
Some daemons may not have init scripts for your chosen init.
Check the Artix repos:
```bash
pacman -Ss <daemon-name>-openrc # or -runit, -s6
```
If a package doesn't exist, you can write a custom service file
or use a different daemon.
### OpenRC: services don't enable on installed systems
This was a known bug in earlier Antergos NeXT builds (the installer
used `artix-service` which didn't set up OpenRC correctly).
If you're switching to OpenRC manually on an already-installed system,
`rc-update add` works fine — the bug was specific to the installer flow.
-58
View File
@@ -1,58 +0,0 @@
---
title: CI/CD
layout: default
nav_order: 7
---
# CI/CD Pipeline
Three GitHub Actions workflows:
## Build ISO (`build.yml`)
Triggers on **manual `workflow_dispatch`** only (push to master does NOT trigger a build). Runs in an `artixlinux/artixlinux:base` container with `--privileged`.
### Steps
1. Install dependencies (artools, squashfs-tools, git, sudo, python)
2. Set `WORKSPACE_DIR` to the checkout path
3. Override pacman config with `[antergos-pkgs]` repo (`pacman.conf.d/iso-x86_64.conf`)
4. Mount a 12 GB tmpfs at `/var/lib/artools/buildiso`
5. Run `./buildiso -p antergos`
6. Upload the ISO as a build artifact
### Internet Archive upload
The workflow includes an Internet Archive upload step, but it is **currently disabled** (`if: false`) — the maintainer is the only QA team and builds are manually verified first. When re-enabled it uploads with:
- **Collection**: `open_source_software` (Community Software, _not_ Community Texts)
- **Identifier**: `antergos-next-YYYYMMDD-<run_number>` (e.g. `antergos-next-20260711-162`)
- **Credentials**: `IA_ACCESS_KEY` and `IA_SECRET_KEY` (repo secrets)
The `-<run_number>` suffix guarantees unique identifiers across CI runs.
### Secrets
| Secret | Purpose |
|--------|---------|
| `IA_ACCESS_KEY` | Internet Archive S3 access key (for the disabled IA step) |
| `IA_SECRET_KEY` | Internet Archive S3 secret key |
| `GROQ_API_KEY` | Groq API key for the AI moderator |
## AI community moderator (`ai-moderator.yml`)
Triggers on issue open, issue/PR comment, discussion, and discussion comment. Uses the Groq API (`llama-3.1-8b-instant`) via `actions/github-script@v9` to check posts against the Code of Conduct and `CONTRIBUTING.md`. May warn, hide comments, or lock threads. See `ai-moderator.yml` for details.
## Deploy docs (`pages.yml`)
Triggers on push to `master` _only_ when files under `docs/` change. Builds a Jekyll site from `docs/` using the Just the Docs theme and deploys to GitHub Pages.
## antergos-packages CI
Separate workflow in the [antergos-packages](https://github.com/Antergos-NeXT/antergos-packages) repo. Builds all packages listed in `packages.yaml` and publishes them to GitHub Pages as a pacman repository.
## Safety notes
- CI does NOT run on push — only manual dispatch. This prevents unintended ISO builds.
- Internet Archive upload is disabled by default; when enabled it uses a unique identifier per run, so re-running CI won't overwrite a previous release.
- `GROQ_API_KEY` must be set as a repo secret for the AI moderator to function.
-89
View File
@@ -1,89 +0,0 @@
---
title: Desktop Environments
layout: default
nav_order: 9
---
# Desktop Environments
Available desktops in online mode, sourced from Artix repos.
## Plasma (KDE)
| | |
|---|---|
| **Repo** | world |
| **Group** | `plasma` |
| **Session** | `plasma.desktop` (Wayland) / `plasmax11.desktop` (X11) |
| **Notes** | Default DE. Wayland is the default session. `plasma-wayland-session` is NOT a separate package on Artix — it's bundled in `plasma-workspace`. Includes `discover` (KDE's package manager GUI) |
## Xfce
| | |
|---|---|
| **Repo** | galaxy |
| **Group** | `xfce4` |
| **Session** | `xfce.desktop` |
## Cinnamon
| | |
|---|---|
| **Repo** | galaxy |
| **Packages** | Individual (no meta-group) |
| **Session** | `cinnamon.desktop` |
## MATE
| | |
|---|---|
| **Repo** | galaxy |
| **Groups** | `mate` + `mate-extra` |
| **Session** | `mate.desktop` |
## LXQt
| | |
|---|---|
| **Repo** | galaxy |
| **Group** | `lxqt` |
| **Session** | `lxqt.desktop` |
## i3
| | |
|---|---|
| **Repo** | world |
| **Group** | `i3` |
| **Session** | `i3.desktop` |
## Sway
| | |
|---|---|
| **Repo** | world |
| **Packages** | `sway` + related |
| **Session** | `sway.desktop` |
## Hyprland
| | |
|---|---|
| **Repo** | world |
| **Packages** | `hyprland` |
| **Session** | `hyprland.desktop` |
## COSMIC
| | |
|---|---|
| **Repo** | galaxy |
| **Group** | `cosmic` |
| **Session** | `cosmic.desktop` |
| **Notes** | Rust-based, Wayland-native. Uses greetd + cosmic-greeter (not SDDM). Alpha quality, not for production. Select `greetd` in the display-manager chooser — `cosmic-greeter` requires the `greetd` daemon. |
## Not available
- **Budgie** — not in any Artix repo (system, world, galaxy, lib32). Slideshow entries removed.
- **GNOME** — dropped non-systemd support upstream. Not available.
- **No Desktop** — a "no desktop / base only" option does not exist in the installer. Pick a DE from the list above.
-146
View File
@@ -1,146 +0,0 @@
---
title: Development
layout: default
nav_order: 8
---
# Development
## Repository structure
```
antergos-iso/
├── buildiso # Modified buildiso with --overwrite='*' and branding
├── iso-profiles/
│ ├── antergos/
│ │ ├── profile.yaml # Packages, services (rootfs + livefs), compression
│ │ ├── root-overlay/ # Merged into rootfs → live session + offline install
│ │ └── live-overlay/ # Merged into live environment only
│ ├── antergos-minimal/ # Minimal profile (unmaintained)
│ └── common/
│ └── common.yaml # Shared base packages (kernel, firmware, filesystem)
├── pacman.conf.d/
│ └── iso-x86_64.conf # Pacman config for ISO build with [antergos-pkgs]
└── .github/workflows/
├── build.yml # ISO build (IA upload step disabled)
├── ai-moderator.yml # Groq-powered community moderator
└── pages.yml # Docs deployment to GitHub Pages
```
## Building locally
```bash
export WORKSPACE_DIR="$PWD"
sudo -E ./buildiso -p antergos
```
See [Building the ISO](building) for full setup instructions and troubleshooting.
## Critical gotchas
### `./buildiso` vs `buildiso`
Always use the repo's `./buildiso`, **not** the system Artix `/usr/bin/buildiso`. The system version lacks `--overwrite='*'` and will fail with file conflicts between `calamares` and `calamares-branding-antergos-next`.
### `sudo -E` is required
Without `-E`, `WORKSPACE_DIR` is stripped and `load_profile()` returns empty `HAS_LIVE`/`LIVEUSER`, causing build failures immediately.
### Pacman config must be user-overridden
`buildiso` reads from `~/.config/artools/pacman.conf.d/iso-x86_64.conf`. If missing, it falls back to the Artix default at `/usr/share/artools/pacman.conf.d/iso-x86_64.conf` which lacks `[antergos-pkgs]`.
```bash
mkdir -p ~/.config/artools/pacman.conf.d
cp pacman.conf.d/iso-x86_64.conf ~/.config/artools/pacman.conf.d/
```
CI does this automatically.
### Repo order in iso-x86_64.conf
`[antergos-pkgs]` must be listed **first** in `iso-x86_64.conf` so custom packages (calamares, branding) take priority over Artix's. If Artix repos are first, our custom packages won't be installed.
### Package order matters in profile.yaml
`basestrap` uses `--overwrite='*'`. The **last** package to claim a file wins. Package order in `profile.yaml` should list `calamares` BEFORE `calamares-branding-antergos-next`, so branding files overwrite Calamares defaults, not the other way around.
### `antergos-release` must be in basestrap.conf operations
The `filesystem` package owns `/usr/lib/os-release` with "Artix Linux". To replace it with "Antergos NeXT", `antergos-release` must be listed in the `operations` list in `iso-profiles/antergos/live-overlay/etc/calamares/modules/basestrap.conf`. This ensures it's installed during bootstrapping with `--overwrite`. If it's missing from operations, the installed system will show "Artix Linux" in `/usr/lib/os-release`.
### Squashfs compression
If `$COMPRESSION` is unset in `profile.yaml`, `mksquashfs` produces a sparse zero file instead of a valid squashfs. The ISO will be tiny and unbootable. Always verify compression is set, or remove stale images before retrying.
### Calamares module precedence
`/etc/calamares/modules/` overrides `/usr/share/calamares/modules/`. The `calamares-next` launcher copies the online settings file to `/etc/calamares/settings.conf`, and the `modules-search: [ local ]` directive in that file resolves modules from `/etc/calamares/modules/`. Module configs placed in `calamares-online/modules/` are not used directly during installation — only `calamares/modules/` is consulted.
### GRUB config overwrite must be enabled
The Artix `grub` package ships a default `/etc/default/grub` file. When Calamares's `grubcfg` module runs during installation, this file already exists on the target system. With `overwrite: false`, the module reads the existing file and only modifies `GRUB_CMDLINE_LINUX_DEFAULT` and `GRUB_DISTRIBUTOR` — all other keys from the `defaults` block (including `GRUB_THEME` and `GRUB_TERMINAL_OUTPUT`) are silently ignored.
The active configuration at `live-overlay/etc/calamares/modules/grubcfg.conf` **must** set `overwrite: true` to replace Artix's shipped defaults with the distribution's intended values. Without this, the installed system will use the bare Artix GRUB configuration with no theme.
### `GRUB_TERMINAL_OUTPUT` must be "gfxterm" for themed GRUB
Setting `GRUB_TERMINAL_OUTPUT: "console"` in `grubcfg.conf` forces GRUB into text mode and disables the graphical theme. The theme requires `GRUB_TERMINAL_OUTPUT: "gfxterm"` to render.
### Live-overlay is not overlay-mounted
Live-overlay files are copied via `cp -LR` in `make_livefs()`. Deleting a file from live-overlay exposes the package version underneath. Use `NoDisplay=true` in `.desktop` files to hide entries.
### `plasma-wayland-session` does not exist on Artix
Artix bundles the Wayland session into `plasma-workspace` itself. Do not add it to package lists.
### SDDM theme
The installed system uses the **pixie** theme (`pixie-sddm-git`). The `antergos-layan-theme` package vendors its own `kde_settings.conf` at `/etc/sddm.conf.d/kde_settings.conf` with `Current=pixie` plus dinit halt/reboot commands — this overrides KDE's SDDM KCM setting. The live session deliberately uses `breeze` for autologin.
> The `antergos-sddm-theme` PKGBUILD still exists in `antergos-packages` but is **not built** (not in `packages.yaml`) and not used.
### Pipewire launcher on dinit
`artix-pipewire-launcher` detects the init system and only proceeds on supported ones. For dinit, the upstream script returns `SUPPORT=''` (unsupported). The forked version in `[antergos-pkgs]` patches this to `dinit|runit|s6) SUPPORT='YES'`. The XDG autostart entry (`pipewire.desktop` at `/etc/xdg/autostart/`) then starts pipewire on login.
### File conflicts
- `calamares` and `calamares-branding-antergos-next` both install to `/usr/share/calamares/branding/default/` — handled by `--overwrite='*'`
- `filesystem` and `antergos-release` both claim `/usr/lib/os-release` — handled by including `antergos-release` in basestrap operations
### `calamares-next.sh SetConfig()`
Must `rm -f` the existing file before `cp`, otherwise `cp` follows any existing symlink to the settings file.
### CI does not trigger on push
The `build.yml` workflow only runs on `workflow_dispatch` (manual trigger from GitHub Actions tab). This prevents accidental ISO builds on every push.
### Internet Archive bucket naming
ISO identifier format: `antergos-next-YYYYMMDD-<run_number>`. The `-<run_number>` ensures uniqueness even for multiple builds on the same day.
## Testing a build
Boot the resulting ISO in a VM. Verify:
- Wayland is the default display server (SDDM session is `plasma.desktop`)
- No "Install Artix Linux" entry in the app menu
- Wallpaper is set on first login
- DE selector works
- Slideshow renders correctly
- Audio works after installation (pipewire should auto-start)
- After install, `/usr/lib/os-release` shows "Antergos NeXT"
- SDDM shows the Antergos theme, not Breeze
## Custom packages repo
Custom PKGBUILDs live in the companion [antergos-packages](https://github.com/Antergos-NeXT/antergos-packages) repo. The CI there builds them and publishes to GitHub Pages as a pacman repository:
```ini
[antergos-pkgs]
SigLevel = Optional TrustAll
Server = https://antergos-next.github.io/antergos-packages
```
-132
View File
@@ -1,132 +0,0 @@
---
title: Dinit
layout: default
parent: Init Systems
nav_order: 2
---
# Dinit
**Dinit** is a modern init system designed for speed and correctness. Written in C++, it focuses on parallel service startup and dependency management. **Dinit is the default init system in Antergos NeXT.**
Dinit handles dependencies automatically through declarative configuration files, avoiding the complexity of shell-script-based service definitions.
## Key concepts
| Concept | What it means |
|---------|---------------|
| Service files | Declarative `.conf` files in `/etc/dinit.d/` |
| Dependencies | Automatic — Dinit figures out start order from `depends-on` directives |
| Parallel startup | Very fast — starts services concurrently wherever possible |
| Process supervision | Optional — can restart crashed services if `type = process` |
## Basic commands
```bash
# Start a service
dinitctl start sshd
# Stop a service
dinitctl stop sshd
# Enable at boot
dinitctl enable sshd
# Disable at boot
dinitctl disable sshd
# Check status
dinitctl status sshd
# List all services
dinitctl list
```
## Example service file
`/etc/dinit.d/sshd.conf`:
```
type = process
command = /usr/bin/sshd -D
depends-on = dbus
depends-on = network
```
## Where services live
- **System services**: `/etc/dinit.d/` (config) — enabled via symlinks in `/etc/dinit.d/boot.d/`
- **User services**: similar structure under the user's config directory (for `dinit-user-spawn`)
- **Boot-enabling**: `dinitctl enable <service>` creates a symlink in `boot.d/`
Service files use a simple key-value syntax. The `type` can be:
- `process` — supervised (auto-restart on crash)
- `scripted` — runs and completes (one-shot tasks)
- `internal` — handled internally by dinit
## Common tasks
### Enable a service at boot
```bash
dinitctl enable sshd
```
Alternatively, create a symlink manually:
```bash
ln -s /etc/dinit.d/sshd /etc/dinit.d/boot.d/
```
### Check what's running
```bash
dinitctl list
```
### View logs
Dinit itself doesn't handle logging. Services log to syslog or their own log files under `/var/log/`. Use `less /var/log/messages` or check per-service log directories.
## Comparison with OpenRC
| | OpenRC | Dinit |
|---|--------|-------|
| Service format | Shell scripts | Declarative config |
| Dependencies | Manual (`need`/`use`) | Automatic |
| Speed | Fast | Very fast (more parallel) |
| Complexity | Low | Medium |
| Supervision | No built-in | Optional |
## Troubleshooting
### Service fails to start
Check the service file syntax first:
```bash
dinitctl start sshd
# If it fails, check:
cat /var/log/messages | grep dinit
```
Make sure all `depends-on` services are available (even if not enabled — dinit will start them as dependencies).
### "boot" service file missing
Dinit's `add_user_svc_dinit` in Calamares attempts to create `boot.d/` symlinks but does not create a `boot` service file. This is a known upstream limitation. Workaround: ensure services are enabled via `dinitctl enable` after install, or use the init-specific package handling in Calamares.
### pipewire doesn't start
On Antergos NeXT, `artix-pipewire-launcher` is patched to support dinit. If pipewire isn't starting, verify the launcher script at `/usr/bin/artix-pipewire-launcher` includes dinit in its supported init list. The XDG autostart entry at `/etc/xdg/autostart/pipewire.desktop` handles starting pipewire on login.
## When to use Dinit
Dinit is suitable for users who want fast boot times and automatic dependency resolution without managing shell-script-based service files. It is the default init in Antergos NeXT and requires no additional configuration.
Users migrating from systemd will find Dinit's declarative service files familiar. Users accustomed to OpenRC or Runit may prefer to switch — see [Changing init](changing-init) for instructions.
## Learn more
- [Dinit GitHub](https://github.com/davmac314/dinit)
- [Dinit documentation](https://davmac.org/projects/dinit/)
- [Artix Dinit page](https://wiki.artixlinux.org/Main/dinit)
-69
View File
@@ -1,69 +0,0 @@
---
title: Home
layout: home
nav_order: 1
---
# Antergos NeXT
A community revival of Antergos for the post-systemd era — **Artix Linux** base with **Dinit**, **KDE Plasma**, and the **Calamares** installer.
## Download
[**Download the latest ISO**](https://github.com/Antergos-NeXT/antergos-iso/releases)
_Published to GitHub Releases. (The Internet Archive upload step in CI is currently disabled — see [CI](ci).)_
### Latest release — v2026.07.11
What works in the latest release:
- KDE Plasma 6 on Wayland (with SDDM)
- Full audio support on installed systems
- Custom SDDM theme (not Breeze)
- Correct `/usr/lib/os-release` (shows "Antergos NeXT", not "Artix Linux")
- Choose your desktop (Plasma/Xfce/Cinnamon/MATE/LXQt/i3/Sway/Hyprland/COSMIC)
- GRUB with Antergos theme
- Custom Calamares slideshow
- Xlibre X server included
> Note: the current `master` branch moves the SDDM theme to `pixie` (`pixie-sddm-git`). The v2026.07.11 release used the older theme — see the [releases page](https://github.com/Antergos-NeXT/antergos-iso/releases) for per-release changes.
The offline bare-minimum installer is **experimental and best-effort** — the online Calamares flow is the supported path.
## Quick links
- [Building the ISO](building) — set up and build locally
- [Installer](installer) — Calamares modes, init & DE selectors
- [Custom packages](packages) — PKGBUILDs, pipewire fork, branding
- [CI/CD](ci) — GitHub Actions pipeline, Internet Archive upload
- [Development](development) — contributing, gotchas, conventions
## Learn about Antergos NeXT
- [Init Systems](init-systems) — Dinit, OpenRC, S6, Runit compared
- [Desktop Environments](desktop-environments) — available DEs in online mode
- [Wallpapers](wallpapers) — where they go, how they work
- [Offline Installer](byode) — the BYODE bare-minimum installer
## What changed from original Antergos
| Area | Original Antergos | Antergos NeXT |
|------|-------------------|---------------|
| Base | Arch Linux (systemd) | Artix Linux |
| Default init | systemd | Dinit (others via [changing-init](changing-init)) |
| Desktop | GNOME | KDE Plasma |
| Installer | Custom Cnchi | Calamares (online) + BYODE (offline) |
| Build system | archiso | artools (`buildiso`) |
| Display server | X11 | Wayland (X11 via Xlibre) |
## Project scope
This repo (`antergos-iso`) contains the ISO build configuration — overlays, Calamares modules, pacman config, CI pipeline. Custom PKGBUILDs live in the separate [antergos-packages](https://github.com/Antergos-NeXT/antergos-packages) repo.
## Sources
- [Artix Linux](https://artixlinux.org)
- [artools](https://gitea.artixlinux.org/artix/artools)
- [Calamares](https://codeberg.org/calamares/calamares)
- [antergos-packages](https://github.com/Antergos-NeXT/antergos-packages)
- [Original Antergos wallpapers](https://github.com/Antergos/wallpapers)
-42
View File
@@ -1,42 +0,0 @@
---
title: Init Systems
layout: default
nav_order: 4
has_children: true
---
# Init Systems
An **init system** is PID 1 — the first process started by the kernel during boot. It is responsible for initializing the system: mounting filesystems, starting networking, launching services, and managing the display manager. All other processes descend from PID 1.
Antergos NeXT ships with **Dinit** as its default init system. The pages below describe the major init systems available on Artix Linux. To switch init on an installed system, see [Changing init](changing-init).
## Available init systems
| Init | Philosophy | Complexity | Speed | Used by |
|------|-----------|------------|-------|---------|
| [Dinit](dinit) | Modern, dependency-based, parallel | Medium | Very fast | Antergos NeXT (default), Chimera Linux, Artix |
| [OpenRC](openrc) | Traditional, modular, shell-script-based | Low | Fast | Gentoo, Artix, Devuan, Alpine |
| [Runit](runit) | Minimal, supervision-based, Unix-like | Low | Very fast | Void Linux, AntiX |
| [S6](s6) | Full supervision suite, modular | Medium-High | Very fast | Artix, embedded systems |
## Shared characteristics
- **No systemd** — all four are independent implementations
- **Service files** — services are configured via files in `/etc/`
- **Runlevels** — groups of services that start together under different conditions
- **Plain-text logging** — logs are written to `/var/log/`
## Comparison
| Aspect | Dinit | OpenRC | Runit | S6 |
|--------|-------|--------|-------|-----|
| Service format | Declarative `.conf` files | Shell scripts | Executable `run` scripts | `run` scripts + s6-rc database |
| Dependencies | Automatic | Manual (`need`/`use`) | None | Automatic (s6-rc) |
| Supervision | Optional | No | Yes (runsv) | Yes (s6-supervise) |
| Logging | None built-in | syslog | Per-service (optional) | Per-service (s6-log) |
| Init script | None needed | `/etc/init.d/` | `/etc/runit/1/2/3` | s6-linux-init |
## Switching init after installation
See [Changing init](changing-init) for step-by-step instructions on switching to OpenRC, Runit, or S6 on an installed system.
-166
View File
@@ -1,166 +0,0 @@
---
title: Installer
layout: default
nav_order: 5
---
# Calamares Installer
Antergos NeXT uses [Calamares](https://codeberg.org/calamares/calamares) as its installer, with a custom launcher (`calamares-next`) that launches Calamares directly in online mode.
## Install mode
Online-only (since v2026.07.16). The so-called "Offline Install" was removed from Calamares — it was never truly offline: the rootfs only contained live session essentials, and all DE packages were still downloaded via basestrap. All Calamares installs now use the full netinstall flow with desktop selection.
A BYODE (Bring Your Own Desktop Environment) offline installer script is available on the live desktop for users who want a bare system installed from the ISO. See [BYODE](byode). It is experimental.
## Fixed issues
### Audio on installed systems
The upstream `artix-pipewire-launcher` doesn't support dinit. The XDG autostart entry was also missing from the upstream package.
**Fix**: The `pipewire` package in `[antergos-pkgs]` now includes `pipewire.desktop` installed to `/etc/xdg/autostart/`, and the `artix-pipewire-launcher` script is patched to recognize dinit (`dinit|runit|s6) SUPPORT='YES'`).
### SDDM theme showing Breeze
KDE's SDDM KCM writes a `kde_settings.conf` with `Current=breeze`, and the old `antergos` theme entry didn't win.
**Fix**: The installed system uses the **pixie** SDDM theme (`pixie-sddm-git`, Material Design 3). The `antergos-layan-theme` package vendors its own `kde_settings.conf` at `/etc/sddm.conf.d/kde_settings.conf` with `Current=pixie` (plus dinit halt/reboot commands). The live session uses the `breeze` theme for autologin — the pixie theme applies to the installed system after login.
### `/usr/lib/os-release` showing "Artix Linux"
The `filesystem` package from Artix owns `/usr/lib/os-release`. Our `antergos-release` also needs to install there, but it wasn't included in the basestrap operations list.
**Fix**: Added `antergos-release` to the `operations` list in `basestrap.conf` so it's installed during bootstrapping with `--overwrite`.
## Key differences from upstream Calamares
- `dracut`/`dracutlukscfg` replaced with `initcpiocfg`/`initcpio`/`luksopenswaphookcfg` (Artix uses mkinitcpio, not dracut)
- `services-artix` module instead of `services-systemd` (uses `artix-service` which detects init and runs the right commands)
- `removeuser` step removed, `postcfg` added
- `packagechooser` module compiled in (upstream Calamares skips it by default)
## Init system
Antergos NeXT ships **Dinit** as the default and only install-time init. OpenRC, Runit, and S6 are available in the Artix repos and are supported — but they are not offered as install-time options; you switch after installation. See [Changing init on an installed system](changing-init) for instructions. Note that **OpenRC** is known to have issues with service enabling on installed systems; Runit and S6 switch cleanly.
## Desktop selector
The install flow begins with a dedicated desktop environment picker (`packagechooser@de`) before the package selection tree. This replaces the old netinstall-based "Desktop" group that installed all DEs when the parent checkbox was clicked.
The selector uses `method: netinstall-add` — the chosen DE's package group is dynamically added to the netinstall tree. This means users can still refine their DE packages in the subsequent netinstall step, seeing only their selected DE rather than all available options.
| Step | Module | Description |
|------|--------|-------------|
| 1 | `packagechooser@de` | Pick one DE (required, default: Plasma) |
| 2 | `packagechooser@dm` | Pick a display manager (required, default: SDDM) |
| 3 | `netinstall` | Refine package selection, add optional groups |
### Available desktops
| Desktop | Repo | Type | Notes |
|---------|------|------|-------|
| **KDE Plasma** | world | Full DE | Default. Wayland + X11. Listed as individual packages in the active config; the reference copy in `calamares-online/modules/` uses the `plasma` meta-group + `antergos-next-desktop-settings` |
| **Xfce** | galaxy | Full DE | Lightweight. GTK-based. Individual packages; reference copy uses `xfce4` group |
| **Cinnamon** | galaxy | Full DE | Traditional layout. GNOME-based |
| **MATE** | galaxy | Full DE | GNOME 2 continuation. Individual packages; reference copy uses `mate` + `mate-extra` |
| **LXQt** | galaxy | Full DE | Lightweight Qt desktop. Individual packages; reference copy uses `lxqt` group |
| **i3** | world | Tiling WM | Keyboard-driven. Individual packages (i3-wm, i3blocks, i3lock, i3status). Requires `antergos-i3-config` for a usable experience |
| **Sway** | world | Tiling WM | i3-compatible Wayland compositor. Requires `antergos-sway-config` |
| **Hyprland** | world | Tiling WM | Dynamic Wayland compositor with eye candy. Requires `antergos-hyprland-config` |
| **COSMIC** | galaxy | Full DE | Rust-based desktop from System76. Alpha quality. Select **greetd** as display manager |
### Not available
- **Budgie** — not in any Artix repo (system, world, galaxy, lib32). Slideshow entries removed.
- **GNOME** — dropped non-systemd support upstream. "You really think you can get GNOME here?"
### Tiling WMs and default configs
i3, Sway, and Hyprland are offered as install options but will present a black screen on first boot without a configuration file. Config packages (`antergos-i3-config`, `antergos-sway-config`, `antergos-hyprland-config`) are available from the `[antergos-pkgs]` repository and are automatically included when the corresponding DE is selected.
If you prefer to supply your own config, you can deselect the config package in the netinstall refinement step.
## Display manager selector
The DM selector (`packagechooser@dm`) uses `method: netinstall-select`. Available options:
- **SDDM** — KDE's QML-based display manager (default). Ships with `pixie-sddm-git` theme.
- **LightDM** — GTK-based, cross-desktop
- **LXDM** — Lightweight (LXDE)
- **greetd** — Minimal, recommended for COSMIC
- **LY** — TUI-based, minimal
The selected DM's group is marked as checked in the netinstall tree automatically.
## Branding
Custom branding lives in the `calamares-branding-antergos-next` package, installed to `/etc/calamares/branding/default/`. The `componentName` in `branding.desc` must match its directory name — this is enforced by Calamares (see `Branding.cpp`).
## GRUB configuration
The installation sequence runs `grubcfg` before `bootloader`. The `grubcfg` module writes `/etc/default/grub` on the target system; the `bootloader` module then runs `grub-install` and `grub-mkconfig -o /boot/grub/grub.cfg`.
The Artix `grub` package ships its own default `/etc/default/grub`. Because this file exists on the target at module runtime, the module's `defaults` block is only applied when `overwrite` is set to `true`. The `grubcfg.conf` at `live-overlay/etc/calamares/modules/grubcfg.conf` therefore sets `overwrite: true` to ensure `GRUB_THEME`, `GRUB_TERMINAL_OUTPUT`, and `GRUB_DISTRIBUTOR` are written.
`GRUB_TERMINAL_OUTPUT` must be `"gfxterm"` for the GRUB theme to render; `"console"` disables graphical output and prevents theme loading.
## Bootloader target detection
The `bootloader` module auto-detects the GRUB target architecture using the system's EFI bitness and CPU type. For UEFI x86_64, it installs with `--target=x86_64-efi`. For Legacy BIOS boots, it falls back to `--target=i386-pc`. There is no configuration key to override this — a system booted in BIOS mode will always receive an i386-pc bootloader.
## Installation flow
The full Calamares sequence is defined in `live-overlay/etc/calamares-online/settings.conf`:
**Show phase:**
1. `welcome` — branding and language
2. `locale` — timezone, locale
3. `keyboard` — keyboard layout
4. `packagechooser@de` — desktop environment selection
5. `packagechooser@dm` — display manager selection
6. `netinstall` — package refinement, optional groups
7. `partition` — disk partitioning
8. `users` — user account creation
9. `summary` — confirmation
**Exec phase:**
10. `partition` — write partitions
11. `mount` — mount target
12. `basestrap` — bootstrap base system
13. `machineid` — generate machine ID
14. `packages` — install all selected packages (DE, DM, optional groups)
15. `fstab` — generate fstab
16. `locale` — apply locale
17. `keyboard` — apply keyboard config
18. `localecfg` — locale configuration
19. `luksopenswaphookcfg` — LUKS config
20. `luksbootkeyfile` — LUKS boot key
21. `initcpiocfg` — mkinitcpio config
22. `initcpio` — generate initramfs
23. `users` — create user
24. `displaymanager` — configure SDDM/greetd/etc.
25. `networkcfg` — network configuration
26. `hwclock` — hardware clock
27. `services-artix` — enable dinit services
28. `grubcfg` — write GRUB defaults
29. `bootloader` — install GRUB
30. `postcfg` — post-install configuration
31. `umount` — unmount and finish
**Show phase:**
32. `finished` — reboot prompt
## Launcher
The `calamares-next` script (`/usr/bin/calamares-next`) handles the installer boot flow:
1. **Notice** — explains why the offline mode was removed
2. **Welcome** — branded splash with Install button
3. **Configuration** — copies `calamares-online/settings.conf` to `/etc/calamares/settings.conf`
4. **Launch** — runs `calamares` with the online config
During installation, the launcher monitors pacman activity and saves the package installation log to `~/pacman-install.log`. No terminal windows are opened to display progress.
Launched via the desktop entry in the live session: `Exec=sudo -E calamares-next`.
-78
View File
@@ -1,78 +0,0 @@
---
title: Launcher
layout: default
nav_order: 11
---
# Calamares Launcher
The `calamares-next` script (`calamares-next.sh`) handles the installer boot flow. It is installed by the `calamares-branding-antergos-next` package to `/usr/bin/calamares-next`.
## Boot flow
1. **Notice** — displays a YAD information dialog explaining why the offline install mode was removed
2. **Welcome** — presents a branded splash screen with a single "Install" button
3. **Configuration** — copies `calamares-online/settings.conf` to `/etc/calamares/settings.conf` after removing any existing file (the removal is necessary to prevent `cp` from following symlinks)
4. **Launch** — runs `calamares -D8` with the online config; debug output is redirected to a log file at `~/antergos-install.log`
## Desktop entries
The live session ships two entries in `/usr/share/applications/`:
- `calamares.desktop` — the branded "Install Antergos NeXT" entry, launching `Exec=sudo -E calamares-next`
- `antergos-offline-install.desktop` — "Install Antergos NeXT (Offline — NO DE)", launching the experimental `Exec=sudo -E antergos-offline-install` script
Both use `sudo -E`, which preserves environment variables (`WAYLAND_DISPLAY`, `XDG_CURRENT_DESKTOP`, etc.) when launched from the SDDM session. Without it, Calamares may not detect the display server correctly. **Do not switch to `pkexec`** — it does not work in the live environment (tested and failed in previous releases).
## Module config resolution
The online settings file specifies `modules-search: [ local ]`, which resolves to the directory containing the settings file itself. After `SetConfig()` copies the file to `/etc/calamares/settings.conf`, modules are loaded from `/etc/calamares/modules/`. The `calamares-online/modules/` directory in the live-overlay is not used as a module source during installation — its contents exist only as a reference; the active module configs are those under `calamares/modules/`.
## Calamares sequence
The installer runs two `packagechooser` instances in sequence, followed by the `netinstall` module:
| Step | Instance | Module Config | Method | Purpose |
|------|----------|---------------|--------|---------|
| 4 | `packagechooser@de` | `packagechooser_de.conf` | `netinstall-add` | Desktop environment picker (required, default Plasma) |
| 5 | `packagechooser@dm` | `packagechooser_dm.conf` | `netinstall-select` | Display manager picker (required, default SDDM) |
| 6 | `netinstall` | `netinstall.yaml` | — | Refine packages, add optional groups |
### How `netinstall-add` works
When the user selects a DE, `packagechooser@de` writes a group definition to the `netinstallAdd` global storage key. When the `netinstall` module loads, it reads this key and appends the DE's package group to the tree. This allows users to see and refine the packages for their chosen DE — for example, deselecting specific applications.
The DM selector uses `netinstall-select`, which marks the chosen DM group (e.g. SDDM) as checked in the netinstall tree. Both keys are read by the netinstall module's `onActivate()` method at runtime. See `NetInstallPage.cpp` in the Calamares source for details.
### Available DE groups
Each DE item in `packagechooser_de.conf` includes a `netinstall:` field with its full package list. The groups are mutually exclusive — selecting a new DE replaces the previously selected one in the netinstall tree. Once added, the group behaves identically to a group defined in `netinstall.yaml`: users can expand it, toggle subgroups, or remove individual packages.
## Pacman log capture
During installation, the launcher polls for the existence of a pacman log file within the chroot (at `/tmp/calamares-root-*/var/log/pacman.log`). When detected, a copy is written to `~/pacman-install.log`. No terminal windows are opened to display installation progress.
## Config switching
`SetConfig()` in `calamares-next.sh`:
1. `rm -f` the existing settings file at `/etc/calamares/settings.conf`
2. `cp` the online settings file to `/etc/calamares/settings.conf`
3. Calamares reads the config on launch
## Hiding "Install Artix"
The `calamares-extensions` package ships an "Install Artix Linux" desktop entry (`calamares-config-switcher.desktop`). It is excluded from the ISO via `NoExtract = usr/share/applications/calamares-config-switcher.desktop` in `pacman.conf.d/iso-x86_64.conf`, so pacman never extracts it during the build. Our branded `calamares.desktop` in the live-overlay is the only installer entry.
## Module configs
Configs live in `live-overlay/etc/calamares/modules/` (overriding the copies installed by `calamares-branding-antergos-next`):
- `packagechooser_de.conf` — desktop environment selector using `method: netinstall-add`
- `packagechooser_dm.conf` — display manager selector using `method: netinstall-select`
- `netinstall.yaml` / `netinstall.conf` — the netinstall package tree
- `services-artix.conf` — service enablement via `artix-service`
- `grubcfg.conf` — GRUB default configuration (`/etc/default/grub`)
- `bootloader.conf` — bootloader installation parameters
The remaining module configs (`initcpiocfg.conf`, `initcpio.conf`, `welcome.conf`, `basestrap.conf`, etc.) ship in the `calamares-branding-antergos-next` package under `/etc/calamares/modules/`.
-101
View File
@@ -1,101 +0,0 @@
---
title: OpenRC
layout: default
parent: Init Systems
nav_order: 1
---
# OpenRC
**OpenRC** is a traditional init system used by Gentoo, Artix Linux, Devuan, Alpine Linux, and other non-systemd distributions. It is well-established, actively maintained, and provides a balance of simplicity and feature completeness.
> **Note:** Earlier Antergos NeXT builds shipped OpenRC as an install-time option, but it conflicted with dinit during the installer flow (services didn't enable correctly). OpenRC is no longer an install-time option. On an already-installed system, manual switching via `rc-update add` works fine — see [Changing init](changing-init).
## Comparison with systemd
| Feature | systemd | OpenRC |
|---------|--------|--------|
| Log storage | Binary journal (`journalctl`) | Plain text files (`/var/log/`) |
| Service control | `systemctl start/stop/enable` | `rc-service start/stop`, `rc-update add/del` |
| Dependency handling | Automatic, parallel | Manual (`need`/`use`/`before`/`after`) |
| Configuration format | `.service` unit files (INI-like) | Shell scripts (`/etc/init.d/`) |
| Binary footprint | ~80+ binaries | ~15 binaries |
| Scope | Init + logind + resolved + timedated + networkd + more | Init only |
## What changes for you as a user?
### Service management
| Task | systemd | OpenRC |
|------|---------|--------|
| Start a service | `sudo systemctl start sshd` | `sudo rc-service sshd start` |
| Stop a service | `sudo systemctl stop sshd` | `sudo rc-service sshd stop` |
| Enable at boot | `sudo systemctl enable sshd` | `sudo rc-update add sshd` |
| Disable at boot | `sudo systemctl disable sshd` | `sudo rc-update del sshd` |
| Check status | `systemctl status sshd` | `rc-service sshd status` |
| List enabled | `systemctl list-unit-files --enabled` | `rc-update show` |
| View logs | `journalctl -u sshd` | `less /var/log/messages` |
### Key commands
```bash
# List all services with their runlevel
rc-status
# List enabled services
rc-update show
# Add a service to a runlevel
rc-update add <service> <runlevel>
# Remove a service
rc-update del <service> <runlevel>
# Start/stop/restart a service
rc-service <service> start
rc-service <service> stop
rc-service <service> restart
```
Runlevels in OpenRC work like directories under `/etc/runlevels/`:
```
/etc/runlevels/
├── boot # Low-level system services (filesystems, udev, etc.)
├── sysinit # System initialization (hwclock, hostname, etc.)
├── default # Normal boot services (NetworkManager, sshd, etc.)
└── shutdown # Shutdown services
```
## Rationale for non-systemd
Antergos NeXT uses Dinit as its init system. The switch away from systemd was motivated by three factors:
1. **Scope expansion** — systemd has grown beyond process supervision to include logind, resolved, timedated, networkd, homed, and other subsystems. This consolidates OS management into a single project with an expanding scope.
2. **SysV compatibility removal** — systemd 260 (March 2026) removed `systemd-sysv-generator`, `rc-local.service`, and related legacy compatibility code, breaking distributions that were not fully systemd-native.
3. **Age verification (PR [#40954](https://github.com/systemd/systemd/pull/40954))** — merged March 2026, this added `birthDate` fields to userdb JSON for age verification compliance. While optional at the time of writing, the precedent raises concerns about future requirements.
## When to use OpenRC
OpenRC is suitable for users who want a well-documented, traditional init system with explicit dependency management. Its shell-script-based service files are straightforward to write and debug. Users migrating from Gentoo, Alpine, or Devuan will find OpenRC familiar.
OpenRC does not include built-in process supervision. Users who want automatic service restart on crash should consider Runit or S6 instead.
## Compatibility
Most desktop software is agnostic to the init system. Browsers, editors, games, and media players function identically regardless of what manages PID 1.
Software that does depend on systemd and will not function:
- `systemctl`, `journalctl`, `loginctl`, `timedatectl`
- GNOME (dropped non-systemd support upstream)
- Native `.service` unit files (systemd-only format)
Logs are written to plain text files under `/var/log/messages` and can be read with any text viewer.
## Learning more
- [OpenRC documentation](https://wiki.gentoo.org/wiki/OpenRC)
- [Gentoo Handbook: OpenRC](https://wiki.gentoo.org/wiki/Handbook:AMD64/Full/Installation#OpenRC)
- [Comparison of init systems (Wikipedia)](https://en.wikipedia.org/wiki/Comparison_of_init_systems)
-115
View File
@@ -1,115 +0,0 @@
---
title: Live Overlay
layout: default
parent: Overlays
nav_order: 2
---
# Live Overlay
Files in `iso-profiles/antergos/live-overlay/` exist only in the live environment — they are **not** present after installation.
## Contents
```
live-overlay/
├── etc/
│ ├── calamares/
│ │ └── modules/ # Active runtime module configs
│ │ ├── basestrap.conf # Package installation (operations incl. antergos-release)
│ │ ├── bootloader.conf
│ │ ├── displaymanager.conf # DM selector backend
│ │ ├── finished.conf
│ │ ├── grubcfg.conf
│ │ ├── machineid.conf
│ │ ├── netinstall.conf / netinstall.yaml
│ │ ├── packagechooser_de.conf # Desktop environment selector
│ │ ├── packagechooser_dm.conf # Display manager selector
│ │ ├── packages.conf
│ │ ├── postcfg.conf
│ │ └── services-artix.conf
│ ├── calamares-online/
│ │ ├── settings.conf # Online install sequence
│ │ └── modules/ # Online flow modules (reference + extra)
│ │ ├── packagechooser_de.conf / packagechooser_dm.conf
│ │ ├── initcpio.conf / locale.conf / mount.conf / partition.conf
│ │ ├── umount.conf / users.conf / welcome.conf
│ │ └── ... (mirrors the active set)
│ ├── elogind/{logind.conf,sleep.conf}
│ ├── fstab / hostname / hosts
│ ├── issue / issue.live / os-release
│ ├── pam.d/su
│ ├── polkit-1/rules.d/90-live.rules # Live-session polkit bypass
│ ├── sddm.conf.d/
│ │ └── kde_settings.conf # SDDM autologin + Wayland session
│ ├── skel/Desktop/
│ │ ├── calamares.desktop # Install launcher on the desktop
│ │ └── antergos-offline-install.desktop
│ ├── sudoers.d/{g_wheel,u_root}
│ └── syslog-ng/syslog-ng.conf
├── usr/
│ ├── bin/systemd-machine-id-setup
│ ├── lib/calamares/modules/ # Custom calamares modules (basestrap, packages)
│ ├── local/bin/antergos-offline-install
│ └── share/applications/
│ ├── calamares.desktop # Branded launcher
│ └── antergos-offline-install.desktop
```
## Key files
### `etc/calamares-online/settings.conf`
The online install sequence. Defines two `packagechooser` instances:
- `packagechooser@de` — desktop environment selector using `method: netinstall-add`. Writes the selected DE's package group to the `netinstallAdd` global storage key. The DE group is dynamically appended to the netinstall tree when the netinstall module loads.
- `packagechooser@dm` — display manager selector using `method: netinstall-select`. Marks the chosen DM group as checked in the netinstall tree.
The `modules-search: [ local ]` directive resolves module configs from the same directory as the settings file (`/etc/calamares/modules/`).
> There is **no** `settings.conf` at `etc/calamares/` in this overlay. The `/etc/calamares/settings.conf` on a live system is a symlink installed by the `calamares-branding-antergos-next` package (`ln -sf ../calamares-offline/settings.conf`), and `calamares-next.sh` swaps it to the online config at runtime.
### `etc/calamares/modules/` vs `etc/calamares-online/modules/`
- `calamares/modules/` — active module configs at runtime. The settings file resolves modules from this directory after being copied to `/etc/calamares/`.
- `calamares-online/modules/` — reference copies and additional modules (e.g. `partition.conf`, `mount.conf`) that are used during the online install flow. These are not loaded directly but serve as the source of truth for the install sequence.
### `etc/calamares/modules/basestrap.conf`
Controls package installation during bootstrapping. The `operations` list includes packages that must be installed with `--overwrite`. This is where `antergos-release` is listed to ensure it overwrites `/usr/lib/os-release` from the `filesystem` package.
### `etc/calamares-online/modules/*.conf`
Additional modules required for the online install flow:
| File | Purpose |
|------|---------|
| `initcpio.conf` | mkinitcpio generation |
| `locale.conf` | Locale and timezone |
| `mount.conf` | Filesystem mounting |
| `partition.conf` | Disk partitioning |
| `umount.conf` | Unmounting |
| `users.conf` | User creation |
| `welcome.conf` | Welcome page |
### `usr/share/applications/calamares.desktop`
The branded "Install Antergos NeXT" launcher (plus `antergos-offline-install.desktop` for the offline installer). Both run with `sudo -E`. The upstream Artix "Install Artix Linux" entry is hidden via `NoExtract` in `pacman.conf.d/iso-x86_64.conf` (see [Launcher](launcher)).
## Module configs removed
The following files were removed during the transition away from the init system selector:
- `packagechooser.conf` — the old init system selector (dinit/openrc/runit/s6). Replaced by `packagechooser_de.conf` (DE selector).
- `images/` — SVG icons for init systems (dinit.svg, openrc.svg, runit.svg, s6.svg). No longer needed.
These files were removed in commit `6ec25cc` (2026-07-24) when the DE selector landed.
## DE selector package lists
The two copies of `packagechooser_de.conf` differ in their package granularity:
- `calamares/modules/packagechooser_de.conf`**explicit package lists** (e.g. all 44 Plasma packages listed individually). Users see the full list in the netinstall refinement step.
- `calamares-online/modules/packagechooser_de.conf`**meta/group packages** (e.g. `plasma`, `xfce4`, `mate`). Simpler but less granular for refinement.
Both use the same DE IDs and `method: netinstall-add`. The active copy at runtime is the one in `calamares/modules/`.
-61
View File
@@ -1,61 +0,0 @@
---
title: Root Overlay
layout: default
parent: Overlays
nav_order: 1
---
# Root Overlay
Files in `iso-profiles/antergos/root-overlay/` are merged into the live rootfs — the filesystem the ISO boots. root-overlay settings (os-release, issue, SDDM config, wallpapers) therefore apply to the live session too.
> **Important:** The Calamares online install does **not** copy root-overlay files to the installed system. The installed system is built fresh from packages via `basestrap`. Anything you want on installed systems must ship as a package (e.g. `antergos-release` for os-release, `antergos-layan-theme` for the SDDM theme), not live in root-overlay.
## Contents
```
root-overlay/
├── etc/
│ ├── default/
│ │ └── grub # GRUB default options
│ ├── issue / issue.live # Login banners
│ ├── lsb-release # LSB metadata
│ ├── os-release # "Antergos NeXT" in the live session
│ ├── pacman.conf # Includes [antergos-pkgs] repo
│ ├── sddm.conf # SDDM general config (Wayland compositor, theme dirs)
│ ├── sddm.conf.d/
│ │ └── kde_settings.conf # SDDM autologin + theme (live only)
│ ├── skel/.config/autostart/
│ │ ├── antergos-wallpaper.desktop # First-login wallpaper setter
│ │ └── pipewire.desktop # PipeWire autostart
│ └── xdg/autostart/
│ └── antergos-wallpaper.desktop # System-wide wallpaper autostart
├── usr/
│ ├── bin/systemd-machine-id-setup # Keeps live machine-id stable
│ ├── lib/os-release # Mirrors etc/os-release
│ ├── local/bin/set-antergos-wallpaper.sh
│ └── share/
│ ├── icons/hicolor/{128x128,256x256}/apps/antergos-logo.png
│ ├── pixmaps/antergos-logo.png
│ └── plasma/wallpapers/org.kde.image/contents/config/main.xml
```
## Key files
### `etc/pacman.conf`
Adds the `[antergos-pkgs]` custom repo so the live session can install our packages during the Calamares online install. `SigLevel = Optional TrustAll` is needed because our packages are not signed with official Artix keys.
### `etc/sddm.conf.d/kde_settings.conf`
Sets the live session to **autologin as user `antergos`** with `Session=plasma.desktop` (Wayland). Also sets `HaltCommand`/`RebootCommand` to loginctl (dinit-compatible) and the theme to `Current=antergos` (the bundled Antergos theme).
> This file only affects the **live session**. On installed systems the `antergos-layan-theme` package owns `kde_settings.conf` with `Current=pixie` — see [Installer — SDDM theme](installer).
### `etc/skel/.config/autostart/antergos-wallpaper.desktop`
Runs the wallpaper setter on first login. Uses `X-KDE-autostart-phase=2` so it runs after Plasma has initialized — necessary because Plasma overwrites the wallpaper config from `/etc/skel/` on first login. A matching copy lives at `etc/xdg/autostart/` for system-wide autostart.
### `usr/local/bin/set-antergos-wallpaper.sh`
Configures the **Smart Video Wallpaper Reborn** Plasma plugin (`luisbocanegra.smart.video.wallpaper.reborn`) via `qdbus6` to play `/usr/share/backgrounds/antergos/antergos-wallpaper.mp4` muted, then writes `~/.config/antergos-wallpaper-set` as a marker so it only runs once. See [Wallpapers](wallpapers).
-37
View File
@@ -1,37 +0,0 @@
---
title: Overlays
layout: default
nav_order: 12
has_children: true
---
# Overlays
Two directories under `iso-profiles/antergos/` control what goes into the ISO:
```
iso-profiles/antergos/
├── profile.yaml # Package lists, services, compression
├── root-overlay/ # → live rootfs — config for the live session
└── live-overlay/ # → live environment — installer configs and tools
```
## How overlays work
- **root-overlay** files are merged into the live rootfs — the filesystem the ISO boots. Settings here (os-release, SDDM, wallpapers) affect the live session.
- **live-overlay** files are merged into the live environment on top. Calamares configs, the launcher desktop entries, and live-only tools live here.
- **Neither is copied to the installed system.** The Calamares online install builds the target system fresh from packages via `basestrap`. Persistent configuration must ship as a package (`antergos-release`, `antergos-layan-theme`, etc.).
- Overlays are **self-contained** (no symlinks to external directories) so the repo builds standalone.
## Important: overlay behavior
Live-overlay files are **copied** via `cp -LR` in `make_livefs()`, not overlay-mounted. This means:
- You **cannot** hide a file from a package by placing an empty file in live-overlay — the package version still exists underneath
- To hide a desktop entry shipped by a package, use `NoExtract` in `pacman.conf.d/iso-x86_64.conf` (this is how the Artix "Install Artix Linux" entry is suppressed)
- To replace a file, your overlay version wins during copy
## Related pages
- [Root Overlay](overlay-root) — live rootfs config, SDDM, wallpapers
- [Live Overlay](overlay-live) — installer configs, launcher, offline installer
-87
View File
@@ -1,87 +0,0 @@
---
title: Packages
layout: default
nav_order: 6
---
# Custom Packages
Custom PKGBUILDs live in the [antergos-packages](https://github.com/Antergos-NeXT/antergos-packages) repo. Built and published via CI to GitHub Pages as a pacman repository.
## Repo setup
```ini
[antergos-pkgs]
SigLevel = Optional TrustAll
Server = https://antergos-next.github.io/antergos-packages
```
## Package list
Built and published in this order (from `packages.yaml` in `antergos-packages`):
| Package | Purpose |
|---------|---------|
| `antergos-lsb-release` | LSB release identification |
| `antergos-next-desktop-settings` | Default desktop settings for the live session |
| `antergos-next-keyring` | GPG keyring for the `[antergos-pkgs]` repo |
| `antergos-next-mirrorlist` | Mirror list for `[antergos-pkgs]` |
| `antergos-release` | `/usr/lib/os-release` with "Antergos NeXT" identification |
| `pixie-sddm-git` | Material Design 3 SDDM theme (from AUR) |
| `antergos-wallpapers` | Default wallpapers for KDE and other DEs |
| `antergos-plasma-theme` | Plasma theme / start-here icons |
| `antergos-welcome` | "About Antergos NeXT" welcome app (KF6 + Qt6) |
| `antergos-grub-theme` | GRUB boot theme |
| `antergos-live` | Live session meta package (per-init: `antergos-live-dinit`, `antergos-live-openrc`) |
| `pipewire` (forked) | Patched `artix-pipewire-launcher` for dinit support + XDG autostart entry |
| `calamares` | Built with `packagechooser` module enabled |
| `calamares-branding-antergos-next` | Branding: slideshow, `branding.desc`, launcher script, packagechooser configs |
| `calamares-branding-antergos-next-minimal` | Minimal branding variant |
| `antergos-xfce-theme` | Xfce theme |
| `downgrade` | AUR package (downgrade helper) |
| `yay` | AUR helper |
| `antergos-layan-theme` | Layan theme suite: KDE configs, Kvantum, SDDM theme, plasmoids, video wallpaper |
| `tela-circle-icon-theme-git` | Icon theme (from AUR) |
| `kwin-zones` | KWin window tiling zones |
| `oh-my-posh-bin` | Shell prompt (from AUR) |
| `pacseek` | Package search GUI (from AUR) |
| `antergos-i3-config` | i3 configuration |
| `antergos-sway-config` | Sway configuration |
| `antergos-hyprland-config` | Hyprland configuration |
## PKGBUILD notes
### calamares
- `_skip_modules` includes `dracut`, `initramfs`, `initramfscfg` — these are systemd-holdovers not needed on Artix (uses mkinitcpio)
- **`-DCMAKE_DISTRIBUTION_NAME` is a no-op** — Calamares ignores it completely. The "for \<distro\>" text in the about dialog comes from `versionedName` in the active branding component at runtime. Do NOT add this flag.
### calamares-branding-antergos-next
- Ships `calamares-next.sh` — installed as `/usr/bin/calamares-next`, the online installer launcher
- Ships both settings files: `/etc/calamares-offline/settings.conf` and `/etc/calamares-online/settings.conf`. `/etc/calamares/settings.conf` is a symlink to the offline one by default; the launcher's `SetConfig()` replaces it with the online config at runtime
- Ships module configs to `/etc/calamares/modules/`: `unpackfs.conf`, `initcpiocfg.conf`, `initcpio.conf`, `netinstall.conf`, `netinstall.yaml`, `packagechooser_de.conf`, `packagechooser_dm.conf`, `welcome.conf`
- Also overwrites `/usr/share/calamares/branding/default/` so the Artix default branding can't sneak in
- `SetConfig()` must `rm -f` the symlink at `/etc/calamares/settings.conf` before copying, otherwise `cp` follows the symlink and overwrites the wrong file
### pipewire (forked)
- Ships `pipewire.desktop` at `/etc/xdg/autostart/` so installed systems get the XDG autostart entry
- Patches `artix-pipewire-launcher`: sets `dinit|runit|s6) SUPPORT='YES'` (upstream only supported `openrc`/`systemd`). Without this, the launcher silently exits on dinit systems and pipewire never starts.
### antergos-wallpapers
- Installs to `/usr/share/wallpapers/antergos-wallpaper/contents/images/` with `metadata.desktop` for KDE picker support
- Also available at `/usr/share/backgrounds/antergos/` for other DEs
- Ships three wallpapers: original Antergos PNG (default), Adwaita Morning, and antergos-darkest-hour
## File conflicts
| Package 1 | Package 2 | File | Resolution |
|-----------|-----------|------|------------|
| `calamares` | `calamares-branding-antergos-next` | `/usr/share/calamares/branding/default/branding.desc`, `show.qml` | `--overwrite='*'` in `./buildiso` |
| `filesystem` | `antergos-release` | `/usr/lib/os-release` | `antergos-release` in basestrap operations list (uses `--overwrite`) |
## Build system
Packages are built and published via CI in the `antergos-packages` repo. Build order is defined in `packages.yaml`. AUR packages (`yay`, `downgrade`, `pixie-sddm-git`, etc.) are included with retry logic for transient clone failures. The repo index is generated as `antergos-pkgs.db` / `antergos-pkgs.files` under `antergos-pkgs/os/x86_64/` and published to GitHub Pages, served by `repo-add`.
-106
View File
@@ -1,106 +0,0 @@
---
title: Runit
layout: default
parent: Init Systems
nav_order: 3
---
# Runit
**Runit** is a UNIX init system with service supervision — a replacement for sysvinit and other init schemes. It's small, fast, and follows the Unix philosophy of doing one thing well. Written by Gerrit Pape, it's been around since the early 2000s and is battle-tested.
## Philosophy
Runit is built on the same ideas as daemontools (by DJ Bernstein): each service gets its own supervision directory with a `run` script, and a supervisor process (`runsv`) keeps it alive. If the service crashes, it's automatically restarted. No complex service files, no binary logs, no centralized daemon — just scripts and processes.
## Who uses it?
- **Void Linux** — its default init system
- **Artix Linux** — available as an alternative
- **AntiX** — defaults to runit
- Embedded systems, containers, minimal installs
## How it works
Runit boots in three stages:
```
Stage 1 (/etc/runit/1) → One-time initialization (filesystems, udev, etc.)
Stage 2 (/etc/runit/2) → runsvdir starts, supervises all services
Stage 3 (/etc/runit/3) → Shutdown (kill processes, unmount, halt)
```
Services live in `/etc/sv/` and are enabled by symlinking into `/run/runit/service` (or `/etc/runit/runsvdir/default/`).
## Key concepts
| Concept | What it means |
|---------|---------------|
| Service directories | Each service is a directory with an executable `run` script |
| `runsv` | Supervises one service, restarts it if it crashes |
| `runsvdir` | Starts/stops supervisors for a collection of services |
| `sv` | Main control tool — start, stop, restart, status |
| Runlevels | Directories under `/etc/runit/runsvdir/` (default, single, etc.) |
| Logging | Optional — add a `log/` subdirectory with its own `run` script |
## Basic commands
```bash
# Start a service
sv up sshd
# Stop a service
sv down sshd
# Restart a service
sv restart sshd
# Check status
sv status sshd
# Enable at boot (create symlink)
ln -s /etc/sv/sshd /etc/runit/runsvdir/default/
# Disable at boot (remove symlink)
rm /etc/runit/runsvdir/default/sshd
```
## Example service
`/etc/sv/sshd/run`:
```bash
#!/bin/sh
exec /usr/bin/sshd -D
```
That's it. No config parsing, no dependency declarations, no unit files. If the script exits, runsv restarts it. If you want logging, add `log/run`:
`/etc/sv/sshd/log/run`:
```bash
#!/bin/sh
exec svlogd -tt /var/log/sshd
```
## Comparison with OpenRC
| | OpenRC | Runit |
|---|--------|-------|
| Service format | Shell scripts with `start()`/`stop()` | Executable `run` scripts |
| Dependencies | Manual (`need`/`use`) | None (automatic via sv) |
| Supervision | No built-in | Yes — auto-restart on crash |
| Logging | syslog or separate | Built-in per-service logging |
| Boot speed | Fast | Very fast |
| Complexity | Low | Low |
## When to use Runit
Runit is suitable for users who want a minimal supervision-based init with automatic service restart on crash. Its service model (one executable `run` script per service) is straightforward and requires no dependency declarations.
Users coming from Void Linux will find Runit familiar. For users who need dependency management between services, OpenRC or Dinit may be more appropriate.
## Learn more
- [Runit official site](https://smarden.org/runit/)
- [Runit FAQ](https://smarden.org/runit/faq)
- [Artix Runit page](https://wiki.artixlinux.org/Main/Runit)
- [Runit on Gentoo Wiki](https://wiki.gentoo.org/wiki/Runit)
-119
View File
@@ -1,119 +0,0 @@
---
title: S6
layout: default
parent: Init Systems
nav_order: 4
---
# S6
**S6** is a process supervision suite designed for modularity, security, and performance. It's not just an init system — it's a full ecosystem of tools for service management (`s6-rc`), logging, and system initialization (`s6-linux-init`). Written by Laurent Bercot, it's the most technically sophisticated of the non-systemd inits.
> S6 is actually three layers:
> 1. **s6** — core process supervision (svscan, supervise, svc)
> 2. **s6-rc** — dependency-based service manager
> 3. **s6-linux-init** — creates the `/sbin/init` binary
## Philosophy
S6 takes the daemontools/runit model and extends it with:
- **Modularity** — every piece is separate and replaceable
- **Security** — services run with minimal privileges, no ambient authority
- **Performance** — fully parallel startup, designed for speed
- **Reliability** — automatic restart, logging, notification
Unlike runit, s6 has a real dependency-based service manager (`s6-rc`) with declarative service definitions. It's the closest you can get to systemd's feature set without the bloat.
## Who uses it?
- **Artix Linux** — available as an alternative init
- **Docker images** — s6-overlay is popular for container supervision
- Embedded systems, minimal Linux builds
## How it works
1. Kernel starts `/sbin/init` (created by `s6-linux-init-maker`)
2. `s6-linux-init` mounts tmpfs, copies early services, execs into `s6-svscan`
3. `s6-svscan` becomes PID 1 and starts the supervision tree
4. `rc.init` script launches `s6-rc` with the default runlevel
5. `s6-rc` resolves dependencies and starts services in order
## Key concepts
| Concept | What it means |
|---------|---------------|
| `s6-svscan` | PID 1 — root of the supervision tree |
| `s6-supervise` | Monitors one service directory, restarts on crash |
| `s6-svc` | Control tool — send commands to services |
| `s6-rc` | Dependency-based service manager (compiled database) |
| `s6-log` | Built-in logging with auto-rotation |
| Service directories | Like runit — each service is a directory with a `run` script |
| Compilation | `s6-rc` compiles service definitions into a binary database |
## Basic commands
```bash
# Start a service
s6-svc -u /run/service/sshd
# Stop a service
s6-svc -d /run/service/sshd
# Restart a service
s6-svc -r /run/service/sshd
# Check status
s6-svc -a /run/service/sshd
# With s6-rc (service manager):
s6-rc -d change sshd # start
s6-rc -d stop sshd # stop
s6-rc -d status sshd # status
```
## Example service
`/etc/s6/sv/sshd/run`:
```bash
#!/bin/sh
exec /usr/bin/sshd -D
```
With s6-rc, you also need a service definition file:
`/etc/s6/rc/sources/sshd/type`:
```
oneshot
```
`/etc/s6/rc/sources/sshd/up`:
```bash
#!/bin/sh
s6-svc -u /run/service/sshd
```
## Comparison with OpenRC
| | OpenRC | S6 |
|---|--------|-----|
| Service format | Shell scripts | `run` scripts + s6-rc definitions |
| Dependencies | Manual (`need`/`use`) | Automatic via s6-rc |
| Supervision | No built-in | Yes — full supervision tree |
| Logging | syslog or separate | Built-in per-service (`s6-log`) |
| Boot speed | Fast | Very fast |
| Complexity | Low | Medium-High |
| Flexibility | Moderate | Very high (modular) |
## When to use S6
S6 is suitable for advanced users who want full process supervision with dependency-based service management and per-service logging. It offers the most features of any non-systemd init but has a steeper learning curve than OpenRC or Runit.
Users who need supervision, logging, and dependency resolution without systemd will find S6 the most capable option. Users who prefer simplicity may prefer OpenRC or Dinit.
## Learn more
- [S6 official site](https://skarnet.org/software/s6/)
- [S6 overview](https://skarnet.org/software/s6/overview.html)
- [s6-linux-init](https://skarnet.org/software/s6-linux-init/)
- [Artix S6 page](https://wiki.artixlinux.org/Main/S6)
- [S6 on Gentoo Wiki](https://wiki.gentoo.org/wiki/S6)
-39
View File
@@ -1,39 +0,0 @@
---
title: System Requirements
layout: default
nav_order: 3
---
# System Requirements
## Minimum
- **CPU**: Any 64-bit x86 processor, 2 or more cores
- **RAM**: 4 GB (sufficient for desktop use with a web browser open)
- **Storage**: 30 GB available space
- **GPU**: OpenGL 2.0 capable integrated or discrete graphics
- **Display**: 1024×768 resolution
- **Firmware**: UEFI (recommended), Legacy BIOS supported
## Recommended
- **CPU**: Quad-core 64-bit x86 or better
- **RAM**: 8 GB
- **Storage**: 64 GB or larger SSD
- **GPU**: Any modern GPU with open-source drivers (AMD, Intel) or NVIDIA with proprietary drivers
- **Display**: 1920×1080 or higher, 16:9 aspect ratio recommended
- **Firmware**: UEFI
## Notes
### RAM usage
A fresh KDE Plasma 6 session with the Antergos NeXT theme uses approximately 1.5 GB of RAM at idle. This accounts for the desktop shell, background services (NetworkManager, CUPS, Bluetooth, cronie, syslog-ng, pipewire), and the compositor. Opening a web browser adds roughly 500 MB1 GB depending on tabs.
### Display aspect ratio
The default Plasma theme uses icon assets designed for widescreen displays. On 4:3 or narrower aspect ratios, some panel icons may clip. The GRUB theme (Layan) also targets 16:9 and may appear misaligned on narrower displays.
### GPU acceleration
Wayland compositing benefits from GPU acceleration. Systems without a supported GPU fall back to software rendering via LLVMpipe, which increases CPU load and reduces responsiveness. Install the proprietary NVIDIA driver from the Artix `system` repository if using an NVIDIA GPU.
-45
View File
@@ -1,45 +0,0 @@
---
title: Wallpapers
layout: default
nav_order: 13
---
# Wallpapers
The live session and installed system use a **video wallpaper**`/usr/share/backgrounds/antergos/antergos-wallpaper.mp4` — played by the **Smart Video Wallpaper Reborn** Plasma plugin.
The video ships from the **`antergos-layan-theme`** package (`depends=('kvantum' 'yakuake' 'antergos-wallpapers' 'mpv')`). The same package installs the Smart Video Wallpaper Reborn plugin into the user's `~/.local/share/plasma/wallpapers/` from its `Configs/Home/` tree.
The `antergos-wallpapers` package provides the still images:
- **antergos-wallpaper.png** — the original Antergos wallpaper, sourced from the [Antergos/wallpapers](https://github.com/Antergos/wallpapers) repo. GPL-3.0.
- **adwaita-morning.webp** — GNOME Adwaita Morning (7680×4320, CC BY-SA 3.0 by Jakub Steiner)
- **antergos-darkest-hour.jpg** — KDE Plasma variant (GPL-2+)
## Installation paths
| Path | Purpose |
|------|---------|
| `/usr/share/backgrounds/antergos/` | Default wallpaper location + video wallpaper |
| `/usr/share/wallpapers/antergos-wallpaper/contents/images/` | KDE wallpaper picker (still images) |
| `/usr/share/antergos/backgrounds/` | Legacy path |
| `/usr/share/icons/hicolor/*/apps/antergos-logo.png` | App icon |
The KDE plugin names are `antergos-wallpaper` and `antergos-darkest-hour`, each with their own `metadata.desktop`.
## Set on first login
Plasma overwrites `/etc/skel/.config/plasma-org.kde.plasma.desktop-appletsrc` on first login, so putting the wallpaper in skel doesn't work. Instead, a one-shot autostart script handles it:
1. `/usr/local/bin/set-antergos-wallpaper.sh` — configures the Smart Video Wallpaper Reborn plugin (`luisbocanegra.smart.video.wallpaper.reborn`) via `qdbus6`, pointing it at `/usr/share/backgrounds/antergos/antergos-wallpaper.mp4` muted, then creates the marker file `~/.config/antergos-wallpaper-set`
2. `~/.config/autostart/antergos-wallpaper.desktop` (from skel, plus a copy in `/etc/xdg/autostart/`) — calls the script with `X-KDE-autostart-phase=2`
The marker file prevents the script from running on subsequent logins.
## Customizing
To replace the wallpaper, update the `antergos-wallpapers` package:
- `packages/antergos-wallpapers/PKGBUILD` — update source URL and checksum
- `packages/antergos-wallpapers/<image-file>` — new wallpaper image
- `packages/antergos-wallpapers/metadata.desktop` — update name if changing
Rebuild the package and push to the [antergos-packages](https://github.com/Antergos-NeXT/antergos-packages) repo.
@@ -1,37 +0,0 @@
---
backend: pacman
pacman:
num_retries: 0
disable_download_timeout: false
needed_only: false
handle_keyrings: true
copy_pacconf: true
requirements:
- dest: /etc
mode: "0o755"
- dest: /var
mode: "0o755"
- dest: /var/cache
mode: "0o755"
- dest: /var/cache/pacman
mode: "0o755"
- dest: /var/cache/pacman/pkg
mode: "0o755"
- dest: /var/lib
mode: "0o755"
- dest: /var/lib/pacman
mode: "0o755"
keyrings:
- artix
- antergos-next
base_init: elogind
operations:
- install:
- base
- antergos-next-keyring
- antergos-release
- antergos-grub-theme
- xlibre-xserver
@@ -1,21 +0,0 @@
---
efiBootLoader: "grub"
kernel: "/vmlinuz-linux-x86_64"
img: "/initramfs-linux-x86_64.img"
fallback: "/initramfs-linux-x86_64-fallback.img"
timeout: "10"
grubInstall: "grub-install"
grubMkconfig: "grub-mkconfig"
grubCfg: "/boot/grub/grub.cfg"
grubProbe: "grub-probe"
efiBootMgr: "efibootmgr"
installEFIFallback: true
efiBootloaderId: "Antergos"
# installHybridGRUB: false
# efiBootLoaderVar: "packagechooser_bootloader"
@@ -1,10 +0,0 @@
---
displaymanagers:
- lightdm
- gdm
- mdm
- sddm
- lxdm
- slim
basicSetup: false
@@ -1,6 +0,0 @@
---
restartNowMode: user-unchecked
restartNowCommand: "loginctl reboot"
notifyOnFinished: false
@@ -1,21 +0,0 @@
# SPDX-FileCopyrightText: no
# SPDX-License-Identifier: CC0-1.0
---
# Create /etc/default/grub from scratch.
overwrite: true
prefer_grub_d: false
keep_distributor: false
kernel_params: [ "quiet", "splash" ]
defaults:
GRUB_TIMEOUT: 5
GRUB_DEFAULT: "saved"
GRUB_DISABLE_SUBMENU: true
GRUB_TERMINAL_OUTPUT: "console"
GRUB_DISABLE_RECOVERY: true
GRUB_THEME: "/usr/share/grub/themes/antergos/theme.txt"
always_use_defaults: false
@@ -1,4 +0,0 @@
---
kernel: all
be_unsafe: false
@@ -1,7 +0,0 @@
---
localeGenPath: /etc/locale.gen
geoip:
style: "json"
url: "https://geoip.kde.org/v1/calamares"
selector: ""
@@ -1,5 +0,0 @@
---
systemd: false
dbus: false
dbus-symlink: false
entropy-copy: false
@@ -1,131 +0,0 @@
# SPDX-FileCopyrightText: no
# SPDX-License-Identifier: CC0-1.0
#
# Mount filesystems in the target (generally, before treating the
# target as a usable chroot / "live" system). Filesystems are
# automatically mounted from the partitioning module. Filesystems
# listed here are **extra**. The filesystems listed in *extraMounts*
# are mounted in all target systems.
---
# Extra filesystems to mount. The key's value is a list of entries; each
# entry has five keys:
# - device The device node to mount
# - fs (optional) The filesystem type to use
# - mountPoint Where to mount the filesystem
# - options (optional) An array of options to pass to mount
# - efi (optional) A boolean that when true is only mounted for UEFI installs
#
# The device is not mounted if the mountPoint is unset or if the fs is
# set to unformatted.
#
extraMounts:
- device: proc
fs: proc
mountPoint: /proc
- device: sys
fs: sysfs
mountPoint: /sys
- device: /dev
mountPoint: /dev
options: [ bind ]
- device: tmpfs
fs: tmpfs
mountPoint: /run
- device: /run/udev
mountPoint: /run/udev
options: [ bind ]
- device: efivarfs
fs: efivarfs
mountPoint: /sys/firmware/efi/efivars
efi: true
# Btrfs subvolumes to create if root filesystem is on btrfs volume.
# If *mountpoint* is mounted already to another partition, it is ignored.
# Separate subvolume for swapfile is handled separately and automatically.
#
# It is possible to prevent subvolume creation -- this is likely only relevant
# for the root (/) subvolume -- by giving an empty string as a subvolume
# name. In this case no subvolume will be created.
#
btrfsSubvolumes:
- mountPoint: /
subvolume: /@
# As an alternative:
#
# subvolume: ""
- mountPoint: /home
subvolume: /@home
- mountPoint: /root
subvolume: /@root
- mountPoint: /srv
subvolume: /@srv
- mountPoint: /var/cache
subvolume: /@cache
- mountPoint: /var/log
subvolume: /@log
- mountPoint: /var/tmp
subvolume: /@tmp
# The name of the btrfs subvolume holding the swapfile. This only used when
# a swapfile is selected and the root filesystem is btrfs
#
btrfsSwapSubvol: /@swap
# The mount options used to mount each filesystem.
#
# filesystem contains the name of the filesystem or on of three special
# values, "default", efi" and "btrfs_swap". The logic is applied in this manner:
# - If the partition is the EFI partition, the "efi" entry will be used
# - If the fs is btrfs and the subvolume is for the swapfile,
# the "btrfs_swap" entry is used
# - If the filesystem is an exact match for filesystem, that entry is used
# - If no match is found in the above, the default entry is used
# - If there is no match and no default entry, "defaults" is used
# - If the mountOptions key is not present, "defaults" is used
#
# Each filesystem entry contains 3 keys, all of which are optional
# options - An array of mount options that is used on all disk types
# ssdOptions - An array of mount options combined with options for ssds
# hddOptions - An array of mount options combined with options for hdds
# If combining these options results in an empty array, "defaults" is used
#
# Example 1
# In this example, there are specific options for ext4 and btrfs filesystems,
# the EFI partition and the subvolume holding the btrfs swapfile. All other
# filesystems use the default entry. For the btrfs filesystem, there are
# additional options specific to hdds and ssds
#
mountOptions:
- filesystem: default
options: [ defaults ]
- filesystem: efi
options: [ defaults, umask=0077 ]
- filesystem: ext4
options: [ defaults ]
- filesystem: btrfs
options: [ defaults, noatime, compress=zstd:1 ]
ssdOptions: [ discard=async ]
hddOptions: [ autodefrag ]
- filesystem: btrfs_swap
options: [ defaults, noatime ]
#
# Example 2
# In this example there is a single default used by all filesystems
#
# mountOptions:
# - filesystem: default
# options: [ defaults ]
#
# mountOptions:
# - filesystem: default
# options: [ defaults ]
# - filesystem: efi
# options: [ defaults, umask=0077 ]
# - filesystem: btrfs
# options: [ defaults, compress=zstd:1 ]
# - filesystem: btrfs_swap
# options: [ defaults, noatime ]
@@ -1,54 +0,0 @@
---
groupsUrl:
- file:///etc/calamares/modules/netinstall.yaml
required: false
# To support multiple instances of this module,
# some strings are configurable and translatable here.
# Sub-keys under *label* are used for the user interface.
# - *sidebar* This is the name of the module in the progress-tree / sidebar
# in Calamares.
# - *title* This is displayed above the list of packages.
# If no *sidebar* values are provided, defaults to "Package selection"
# and existing translations. If no *title* values are provided, no string
# is displayed.
#
# Translations are handled through `[ll]` notation, much like in
# `.desktop` files. The string associated with `key[ll]` is used for
# *key* when when the language *ll* (language-code, like *nl* or *en_GB*
# or *ja*) is used.
#
# The following strings are **already** known to Calamares and can be
# listed here in *untranslated* form (e.g. as value of *sidebar*)
# without bothering with the translations: they are picked up from
# the regular translation framework:
# - "Package selection"
# - "Office software"
# - "Office package"
# - "Browser software"
# - "Browser package"
# - "Web browser"
# - "Kernel"
# - "Services"
# - "Login"
# - "Desktop"
# - "Applications"
# - "Communication"
# - "Development"
# - "Office"
# - "Multimedia"
# - "Internet"
# - "Theming"
# - "Gaming"
# - "Utilities"
# Other strings should follow the translations format.
label:
sidebar: "Package selection"
# sidebar[nl]: "Pakketkeuze"
# sidebar[en_GB]: "Package choice"
# sidebar[ja]: "知りません" # "I don't know"
# title: "Office Package"
# title[nl]: "Kantoorsoftware"
@@ -1,100 +0,0 @@
- name: "Default"
description: "Default packages"
hidden: false
selected: true
critical: true
immutable: true
packages:
- linux
- linux-headers
- grub
- efibootmgr
- sudo
- antergos-release
- antergos-next-keyring
- antergos-wallpapers
- antergos-grub-theme
- falkon
- mesa
- mesa-utils
- vulkan-nouveau
- networkmanager
- network-manager-applet
- pipewire
- pipewire-alsa
- pipewire-pulse
- wireplumber
- btrfs-progs
- xfsprogs
- f2fs-tools
- snapper
- name: "Kernel"
description: "Kernel and modules"
selected: false
packages:
- acpi_call
- bbswitch
- broadcom-wl
- tp_smapi
- linux-lts
- linux-lts-headers
- name: "Firmware"
description: "Firmware"
selected: false
packages:
- b43-fwcutter
- linux-firmware
- linux-firmware-bnx2x
- linux-firmware-liquidio
- linux-firmware-marvell
- linux-firmware-mellanox
- linux-firmware-nfp
- linux-firmware-qcom
- linux-firmware-qlogic
- linux-firmware-whence
- sof-firmware
- alsa-firmware
- intel-ucode
- amd-ucode
- name: "Init Services"
description: "Essential dinit services"
selected: true
critical: true
immutable: true
packages:
- dinit
- dbus-dinit
- networkmanager-dinit
- elogind-dinit
- cups-dinit
- avahi-dinit
- bluez-dinit
- cronie-dinit
- openssh-dinit
- alsa-utils-dinit
- acpid-dinit
- dhcpcd-dinit
- syslog-ng-dinit
- power-profiles-daemon-dinit
- ntp-dinit
- name: "Utilities"
description: "System Utilities"
selected: true
packages:
- antergos-lsb-release
- nano
- vi
- name: "Devel"
description: "Development tools"
selected: false
packages:
- base-devel
- artools-base
- artools-iso
- artools-pkg
@@ -1,146 +0,0 @@
---
mode: required
method: netinstall-add
labels:
step: "Desktop Environment"
step[de]: "Desktop-Umgebung"
default: Plasma
items:
- id: Plasma
name: "KDE Plasma"
description: "Full-featured modern desktop. The default Antergos NeXT experience."
screenshot: ""
netinstall:
name: "KDE Plasma"
selected: true
critical: false
packages:
- plasma
- ark
- dolphin
- ffmpegthumbs
- gwenview
- kate
- keditbookmarks
- kfind
- kgpg
- kio-admin
- konsole
- konversation
- kwalletmanager
- okular
- partitionmanager
- antergos-next-desktop-settings
- antergos-layan-theme
- tela-circle-icon-theme-git
- cava
- python-websockets
- qt6-websockets
- btop
- imagemagick
- fastfetch
- noto-fonts-emoji
- adw-gtk-theme
- ttf-hack-nerd
- ttf-fira-code
- ttf-terminus-nerd
- ttf-meslo-nerd
- kwin-zones
- oh-my-posh-bin
- pacseek
- id: Xfce
name: "Xfce"
description: "Lightweight traditional desktop. Fast and low on resources."
screenshot: ""
netinstall:
name: "Xfce"
selected: true
critical: false
packages:
- xfce4
- xfce4-goodies
- id: Cinnamon
name: "Cinnamon"
description: "Traditional desktop with modern features (GNOME-based)"
screenshot: ""
netinstall:
name: "Cinnamon"
selected: true
critical: false
packages:
- cinnamon
- cinnamon-control-center
- cinnamon-desktop
- cinnamon-menus
- cinnamon-screensaver
- cinnamon-session
- cinnamon-settings-daemon
- cinnamon-translations
- id: MATE
name: "MATE"
description: "Classic desktop — continuation of GNOME 2"
screenshot: ""
netinstall:
name: "MATE"
selected: true
critical: false
packages:
- mate
- mate-extra
- id: LXQt
name: "LXQt"
description: "Lightweight Qt-based desktop"
screenshot: ""
netinstall:
name: "LXQt"
selected: true
critical: false
packages:
- lxqt
- id: i3
name: "i3"
description: "Minimal tiling window manager (keyboard-driven)"
screenshot: ""
netinstall:
name: "i3"
selected: true
critical: false
packages:
- i3
- antergos-i3-config
- id: Sway
name: "Sway"
description: "i3-compatible Wayland compositor"
screenshot: ""
netinstall:
name: "Sway"
selected: true
critical: false
packages:
- sway
- swaybg
- swayidle
- swaylock
- antergos-sway-config
- id: Hyprland
name: "Hyprland"
description: "Dynamic tiling Wayland compositor with eye candy"
screenshot: ""
netinstall:
name: "Hyprland"
selected: true
critical: false
packages:
- hyprland
- xdg-desktop-portal-hyprland
- antergos-hyprland-config
- id: COSMIC
name: "COSMIC"
description: "Modern Rust-based desktop. Select greetd as DM."
screenshot: ""
netinstall:
name: "COSMIC"
selected: true
critical: false
packages:
- cosmic
@@ -1,72 +0,0 @@
---
mode: required
method: netinstall-add
labels:
step: "Display Manager"
step[de]: "Display Manager"
default: SDDM
items:
- id: SDDM
name: sddm
description: "QML-based display manager (KDE default)"
screenshot: ""
netinstall:
name: "SDDM"
selected: true
critical: false
packages:
- sddm
- sddm-dinit
- pixie-sddm-git
- id: LightDM
name: lightdm
description: "Cross-desktop display manager (GTK)"
screenshot: ""
netinstall:
name: "LightDM"
selected: true
critical: false
packages:
- lightdm
- lightdm-dinit
- id: LXDM
name: lxdm
description: "Lightweight display manager (LXDE)"
screenshot: ""
netinstall:
name: "LXDM"
selected: true
critical: false
packages:
- lxdm
- lxdm-dinit
- id: greetd
name: greetd
description: "Minimal display manager (recommended for COSMIC)"
screenshot: ""
netinstall:
name: "greetd"
selected: true
critical: false
packages:
- greetd
- greetd-dinit
- id: LY
name: ly
description: "Minimal TUI display manager"
screenshot: ""
netinstall:
name: "LY"
selected: true
critical: false
packages:
- ly
- ly-dinit
@@ -1,11 +0,0 @@
---
backend: pacman
skip_if_no_internet: false
update_db: true
update_system: false
pacman:
num_retries: 0
disable_download_timeout: false
needed_only: false
@@ -1,33 +0,0 @@
efi:
mountPoint: "/boot/efi"
recommendedSize: 512MiB
minimumSize: 256MiB
label: "EFI"
userSwapChoices:
- none # Create no swap, use no swap
- small # Up to 4GB
- suspend # At least main memory size
- file # To swap file instead of partition
swapPartitionName: swap
luksGeneration: luks1
drawNestedPartitions: true
alwaysShowPartitionLabels: true
initialPartitioningChoice: none
initialSwapChoice: suspend
defaultPartitionTableType: msdos
requiredPartitionTableType:
- msdos
- gpt
defaultFileSystemType: "ext4"
availableFileSystemTypes: ["ext4","btrfs","f2fs","xfs"]
allowFileSystemTypeSelection: true
@@ -1,13 +0,0 @@
---
# set at iso build time
initsys: none
user-services:
- name: dbus
action: enable
- name: pipewire
action: enable
- name: pipewire-pulse
action: enable
- name: wireplumber
action: enable
@@ -1,28 +0,0 @@
---
command: artix-service
services:
- name: "acpid"
action: "enable"
- name: "bluetoothd"
action: "enable"
- name: "cronie"
action: "enable"
- name: "cupsd"
action: "enable"
- name: "dbus"
action: "enable"
- name: "dhcpcd"
action: "enable"
- name: "NetworkManager"
action: "enable"
- name: "power-profiles-daemon"
action: "enable"
- name: "sddm"
action: "enable"
- name: "greetd"
action: "enable"
- name: "ntpd"
action: "enable"
- name: "syslog-ng"
action: "enable"
@@ -1,2 +0,0 @@
---
emergency: false
@@ -1,46 +0,0 @@
---
defaultGroups:
- name: users
must_exist: true
system: true
- lp
- video
- network
- storage
- name: wheel
must_exist: false
system: true
- audio
- power
- log
- optical
- network
- scanner
autologinGroup: autologin
doAutologin: false
sudoersGroup: wheel
setRootPassword: true
doReusePassword: false
passwordRequirements:
nonempty: true
minLength: 4 # Password at least this many characters
maxLength: -1 # Password at most this many characters
allowWeakPasswords: true
allowWeakPasswordsDefault: true
userShell: /bin/zsh
setHostname: EtcFile
writeHostsFile: true
user:
shell: /bin/zsh
forbidden_names: [ root ]
@@ -1,20 +0,0 @@
---
showSupportUrl: true
showKnownIssuesUrl: true
showReleaseNotesUrl: true
requirements:
requiredStorage: 5.5
requiredRam: 1.0
internetCheckUrl: https://www.artixlinux.org
check:
- storage
- ram
- power
- internet
- root
required:
- storage
- ram
- root
- internet
@@ -1,63 +0,0 @@
---
modules-search: [ local ]
sequence:
- show:
- welcome
- locale
- keyboard
- packagechooser@de
- packagechooser@dm
- netinstall
- partition
- users
- summary
- exec:
- partition
- mount
- basestrap
- machineid
- packages
- fstab
- locale
- keyboard
- localecfg
- luksopenswaphookcfg
- luksbootkeyfile
- initcpiocfg
- initcpio
- users
- displaymanager
- networkcfg
- hwclock
- services-artix
- grubcfg
- bootloader
- postcfg
- umount
- show:
- finished
instances:
- id: de
module: packagechooser
config: packagechooser_de.conf
- id: dm
module: packagechooser
config: packagechooser_dm.conf
branding: antergos-next
prompt-install: false
dont-chroot: false
oem-setup: false
disable-cancel: false
disable-cancel-during-exec: false
hide-back-and-next-during-exec: false
quit-at-end: false
@@ -1,36 +0,0 @@
---
backend: pacman
pacman:
num_retries: 0
disable_download_timeout: false
needed_only: false
handle_keyrings: true
copy_pacconf: true
requirements:
- dest: /etc
mode: "0o755"
- dest: /var
mode: "0o755"
- dest: /var/cache
mode: "0o755"
- dest: /var/cache/pacman
mode: "0o755"
- dest: /var/cache/pacman/pkg
mode: "0o755"
- dest: /var/lib
mode: "0o755"
- dest: /var/lib/pacman
mode: "0o755"
keyrings:
- artix
- antergos-next
base_init: elogind
operations:
- install:
- base
- antergos-next-keyring
- antergos-release
@@ -1,21 +0,0 @@
---
efiBootLoader: "grub"
kernel: "/vmlinuz-linux-x86_64"
img: "/initramfs-linux-x86_64.img"
fallback: "/initramfs-linux-x86_64-fallback.img"
timeout: "10"
grubInstall: "grub-install"
grubMkconfig: "grub-mkconfig"
grubCfg: "/boot/grub/grub.cfg"
grubProbe: "grub-probe"
efiBootMgr: "efibootmgr"
installEFIFallback: true
efiBootloaderId: "Antergos NeXT"
# installHybridGRUB: false
# efiBootLoaderVar: "packagechooser_bootloader"
@@ -1,12 +0,0 @@
---
displaymanagers:
- sddm
- lightdm
- lxdm
- ly
- greetd
- gdm
- mdm
- slim
basicSetup: false
@@ -1,6 +0,0 @@
---
restartNowMode: user-unchecked
restartNowCommand: "loginctl reboot"
notifyOnFinished: false
@@ -1,21 +0,0 @@
# SPDX-FileCopyrightText: no
# SPDX-License-Identifier: CC0-1.0
---
overwrite: true
prefer_grub_d: false
keep_distributor: false
kernel_params: [ "quiet" ]
defaults:
GRUB_TIMEOUT: 5
GRUB_DEFAULT: "saved"
GRUB_DISTRIBUTOR: "Antergos NeXT"
GRUB_DISABLE_SUBMENU: true
GRUB_TERMINAL_OUTPUT: "gfxterm"
GRUB_DISABLE_RECOVERY: true
GRUB_THEME: "/usr/share/grub/themes/antergos/theme.txt"
always_use_defaults: false
@@ -1,4 +0,0 @@
---
kernel: all
be_unsafe: false
@@ -1,7 +0,0 @@
---
localeGenPath: /etc/locale.gen
geoip:
style: "json"
url: "https://geoip.kde.org/v1/calamares"
selector: ""
@@ -1,5 +0,0 @@
---
systemd: false
dbus: false
dbus-symlink: false
entropy-copy: false
@@ -1,131 +0,0 @@
# SPDX-FileCopyrightText: no
# SPDX-License-Identifier: CC0-1.0
#
# Mount filesystems in the target (generally, before treating the
# target as a usable chroot / "live" system). Filesystems are
# automatically mounted from the partitioning module. Filesystems
# listed here are **extra**. The filesystems listed in *extraMounts*
# are mounted in all target systems.
---
# Extra filesystems to mount. The key's value is a list of entries; each
# entry has five keys:
# - device The device node to mount
# - fs (optional) The filesystem type to use
# - mountPoint Where to mount the filesystem
# - options (optional) An array of options to pass to mount
# - efi (optional) A boolean that when true is only mounted for UEFI installs
#
# The device is not mounted if the mountPoint is unset or if the fs is
# set to unformatted.
#
extraMounts:
- device: proc
fs: proc
mountPoint: /proc
- device: sys
fs: sysfs
mountPoint: /sys
- device: /dev
mountPoint: /dev
options: [ bind ]
- device: tmpfs
fs: tmpfs
mountPoint: /run
- device: /run/udev
mountPoint: /run/udev
options: [ bind ]
- device: efivarfs
fs: efivarfs
mountPoint: /sys/firmware/efi/efivars
efi: true
# Btrfs subvolumes to create if root filesystem is on btrfs volume.
# If *mountpoint* is mounted already to another partition, it is ignored.
# Separate subvolume for swapfile is handled separately and automatically.
#
# It is possible to prevent subvolume creation -- this is likely only relevant
# for the root (/) subvolume -- by giving an empty string as a subvolume
# name. In this case no subvolume will be created.
#
btrfsSubvolumes:
- mountPoint: /
subvolume: /@
# As an alternative:
#
# subvolume: ""
- mountPoint: /home
subvolume: /@home
- mountPoint: /root
subvolume: /@root
- mountPoint: /srv
subvolume: /@srv
- mountPoint: /var/cache
subvolume: /@cache
- mountPoint: /var/log
subvolume: /@log
- mountPoint: /var/tmp
subvolume: /@tmp
# The name of the btrfs subvolume holding the swapfile. This only used when
# a swapfile is selected and the root filesystem is btrfs
#
btrfsSwapSubvol: /@swap
# The mount options used to mount each filesystem.
#
# filesystem contains the name of the filesystem or on of three special
# values, "default", efi" and "btrfs_swap". The logic is applied in this manner:
# - If the partition is the EFI partition, the "efi" entry will be used
# - If the fs is btrfs and the subvolume is for the swapfile,
# the "btrfs_swap" entry is used
# - If the filesystem is an exact match for filesystem, that entry is used
# - If no match is found in the above, the default entry is used
# - If there is no match and no default entry, "defaults" is used
# - If the mountOptions key is not present, "defaults" is used
#
# Each filesystem entry contains 3 keys, all of which are optional
# options - An array of mount options that is used on all disk types
# ssdOptions - An array of mount options combined with options for ssds
# hddOptions - An array of mount options combined with options for hdds
# If combining these options results in an empty array, "defaults" is used
#
# Example 1
# In this example, there are specific options for ext4 and btrfs filesystems,
# the EFI partition and the subvolume holding the btrfs swapfile. All other
# filesystems use the default entry. For the btrfs filesystem, there are
# additional options specific to hdds and ssds
#
mountOptions:
- filesystem: default
options: [ defaults ]
- filesystem: efi
options: [ defaults, umask=0077 ]
- filesystem: ext4
options: [ defaults ]
- filesystem: btrfs
options: [ defaults, noatime, compress=zstd:1 ]
ssdOptions: [ discard=async ]
hddOptions: [ autodefrag ]
- filesystem: btrfs_swap
options: [ defaults, noatime ]
#
# Example 2
# In this example there is a single default used by all filesystems
#
# mountOptions:
# - filesystem: default
# options: [ defaults ]
#
# mountOptions:
# - filesystem: default
# options: [ defaults ]
# - filesystem: efi
# options: [ defaults, umask=0077 ]
# - filesystem: btrfs
# options: [ defaults, compress=zstd:1 ]
# - filesystem: btrfs_swap
# options: [ defaults, noatime ]
@@ -1,54 +0,0 @@
---
groupsUrl:
- file:///etc/calamares/modules/netinstall.yaml
required: false
# To support multiple instances of this module,
# some strings are configurable and translatable here.
# Sub-keys under *label* are used for the user interface.
# - *sidebar* This is the name of the module in the progress-tree / sidebar
# in Calamares.
# - *title* This is displayed above the list of packages.
# If no *sidebar* values are provided, defaults to "Package selection"
# and existing translations. If no *title* values are provided, no string
# is displayed.
#
# Translations are handled through `[ll]` notation, much like in
# `.desktop` files. The string associated with `key[ll]` is used for
# *key* when when the language *ll* (language-code, like *nl* or *en_GB*
# or *ja*) is used.
#
# The following strings are **already** known to Calamares and can be
# listed here in *untranslated* form (e.g. as value of *sidebar*)
# without bothering with the translations: they are picked up from
# the regular translation framework:
# - "Package selection"
# - "Office software"
# - "Office package"
# - "Browser software"
# - "Browser package"
# - "Web browser"
# - "Kernel"
# - "Services"
# - "Login"
# - "Desktop"
# - "Applications"
# - "Communication"
# - "Development"
# - "Office"
# - "Multimedia"
# - "Internet"
# - "Theming"
# - "Gaming"
# - "Utilities"
# Other strings should follow the translations format.
label:
sidebar: "Package selection"
# sidebar[nl]: "Pakketkeuze"
# sidebar[en_GB]: "Package choice"
# sidebar[ja]: "知りません" # "I don't know"
# title: "Office Package"
# title[nl]: "Kantoorsoftware"
@@ -1,104 +0,0 @@
- name: "Default"
description: "Default packages"
hidden: false
selected: true
critical: true
immutable: true
packages:
- linux
- linux-headers
- grub
- efibootmgr
- sudo
- antergos-release
- antergos-next-keyring
- antergos-wallpapers
- antergos-grub-theme
- falkon
- mesa
- mesa-utils
- vulkan-nouveau
- networkmanager
- network-manager-applet
- pipewire
- pipewire-alsa
- pipewire-pulse
- wireplumber
- btrfs-progs
- xfsprogs
- f2fs-tools
- snapper
- name: "Kernel"
description: "Kernel and modules"
selected: false
packages:
- acpi_call
- bbswitch
- broadcom-wl
- tp_smapi
- linux-lts
- linux-lts-headers
- name: "Firmware"
description: "Firmware"
selected: false
packages:
- b43-fwcutter
- linux-firmware
- linux-firmware-bnx2x
- linux-firmware-liquidio
- linux-firmware-marvell
- linux-firmware-mellanox
- linux-firmware-nfp
- linux-firmware-qcom
- linux-firmware-qlogic
- linux-firmware-whence
- sof-firmware
- alsa-firmware
- intel-ucode
- amd-ucode
- name: "Init Services"
description: "Essential dinit services"
selected: true
critical: true
immutable: true
packages:
- dinit
- dbus-dinit
- networkmanager-dinit
- elogind-dinit
- cups-dinit
- avahi-dinit
- bluez-dinit
- cronie-dinit
- openssh-dinit
- alsa-utils-dinit
- acpid-dinit
- dhcpcd-dinit
- syslog-ng-dinit
- power-profiles-daemon-dinit
- ntp-dinit
- name: "Utilities"
description: "System Utilities"
selected: true
packages:
- antergos-lsb-release
- nano
- vi
- name: "Devel"
description: "Development tools"
selected: false
packages:
- base-devel
- artools-base
- artools-iso
- artools-pkg
@@ -1,249 +0,0 @@
---
mode: required
method: netinstall-add
labels:
step: "Desktop Environment"
step[de]: "Desktop-Umgebung"
default: Plasma
items:
- id: Plasma
name: "KDE Plasma"
description: "Full-featured modern desktop. The default Antergos NeXT experience."
screenshot: ""
netinstall:
name: "KDE Plasma"
selected: true
critical: false
packages:
- antergos-next-desktop-settings
- ark
- bluedevil
- breeze-gtk
- dolphin
- dolphin-plugins
- ffmpegthumbs
- gwenview
- kate
- kcalc
- kde-cli-tools
- kde-gtk-config
- kdeconnect
- kdegraphics-thumbnailers
- kdenetwork-filesharing
- kdeplasma-addons
- keditbookmarks
- kfind
- kgpg
- kinfocenter
- kio-admin
- kio-extras
- kio-fuse
- konsole
- konversation
- kscreen
- kwallet-pam
- kwalletmanager
- kwayland-integration
- okular
- partitionmanager
- plasma-browser-integration
- plasma-desktop
- plasma-disks
- plasma-nm
- plasma-pa
- plasma-systemmonitor
- plasma-workspace
- powerdevil
- print-manager
- qt6-imageformats
- spectacle
- xdg-desktop-portal-kde
- xsettingsd
- antergos-layan-theme
- tela-circle-icon-theme-git
- cava
- python-websockets
- qt6-websockets
- btop
- imagemagick
- fastfetch
- noto-fonts-emoji
- adw-gtk-theme
- ttf-hack-nerd
- ttf-fira-code
- ttf-terminus-nerd
- ttf-meslo-nerd
- kwin-zones
- oh-my-posh-bin
- pacseek
- id: Xfce
name: "Xfce"
description: "Lightweight traditional desktop. Fast and low on resources."
screenshot: ""
netinstall:
name: "Xfce"
selected: true
critical: false
packages:
- exo
- garcon
- thunar
- thunar-volman
- tumbler
- xfce4-appfinder
- xfce4-panel
- xfce4-power-manager
- xfce4-session
- xfce4-settings
- xfce4-terminal
- xfconf
- xfdesktop
- xfwm4
- xfwm4-themes
- mousepad
- parole
- ristretto
- thunar-archive-plugin
- thunar-media-tags-plugin
- xfburn
- xfce4-clipman-plugin
- xfce4-notifyd
- xfce4-pulseaudio-plugin
- xfce4-screenshooter
- xfce4-screensaver
- xfce4-taskmanager
- xfce4-whiskermenu-plugin
- id: Cinnamon
name: "Cinnamon"
description: "Traditional desktop with modern features (GNOME-based)"
screenshot: ""
netinstall:
name: "Cinnamon"
selected: true
critical: false
packages:
- cinnamon
- cinnamon-control-center
- cinnamon-desktop
- cinnamon-menus
- cinnamon-screensaver
- cinnamon-session
- cinnamon-settings-daemon
- cinnamon-translations
- id: MATE
name: "MATE"
description: "Classic desktop — continuation of GNOME 2"
screenshot: ""
netinstall:
name: "MATE"
selected: true
critical: false
packages:
- caja
- marco
- mate-backgrounds
- mate-control-center
- mate-desktop
- mate-icon-theme
- mate-menus
- mate-notification-daemon
- mate-panel
- mate-polkit
- mate-session-manager
- mate-settings-daemon
- mate-themes
- mate-user-guide
- atril
- eom
- mate-applets
- mate-calc
- mate-power-manager
- mate-screensaver
- mate-system-monitor
- mate-terminal
- mate-utils
- pluma
- id: LXQt
name: "LXQt"
description: "Lightweight Qt-based desktop"
screenshot: ""
netinstall:
name: "LXQt"
selected: true
critical: false
packages:
- lximage-qt
- lxqt-about
- lxqt-admin
- lxqt-archiver
- lxqt-config
- lxqt-globalkeys
- lxqt-menu-data
- lxqt-notificationd
- lxqt-openssh-askpass
- lxqt-panel
- lxqt-policykit
- lxqt-powermanagement
- lxqt-qtplugin
- lxqt-runner
- lxqt-session
- lxqt-sudo
- lxqt-themes
- obconf-qt
- openbox
- pavucontrol-qt
- pcmanfm-qt
- qps
- qterminal
- screengrab
- xdg-desktop-portal-lxqt
- id: i3
name: "i3"
description: "Minimal tiling window manager (keyboard-driven)"
screenshot: ""
netinstall:
name: "i3"
selected: true
critical: false
packages:
- i3-wm
- i3blocks
- i3lock
- i3status
- antergos-i3-config
- id: Sway
name: "Sway"
description: "i3-compatible Wayland compositor"
screenshot: ""
netinstall:
name: "Sway"
selected: true
critical: false
packages:
- sway
- swaybg
- swayidle
- swaylock
- antergos-sway-config
- id: Hyprland
name: "Hyprland"
description: "Dynamic tiling Wayland compositor with eye candy"
screenshot: ""
netinstall:
name: "Hyprland"
selected: true
critical: false
packages:
- hyprland
- xdg-desktop-portal-hyprland
- antergos-hyprland-config
- id: COSMIC
name: "COSMIC"
description: "Modern Rust-based desktop. Select greetd as DM."
screenshot: ""
netinstall:
name: "COSMIC"
selected: true
critical: false
packages:
- cosmic
@@ -1,72 +0,0 @@
---
mode: required
method: netinstall-add
labels:
step: "Display Manager"
step[de]: "Display Manager"
default: SDDM
items:
- id: SDDM
name: sddm
description: "QML-based display manager (KDE default)"
screenshot: ""
netinstall:
name: "SDDM"
selected: true
critical: false
packages:
- sddm
- sddm-dinit
- pixie-sddm-git
- id: LightDM
name: lightdm
description: "Cross-desktop display manager (GTK)"
screenshot: ""
netinstall:
name: "LightDM"
selected: true
critical: false
packages:
- lightdm
- lightdm-dinit
- id: LXDM
name: lxdm
description: "Lightweight display manager (LXDE)"
screenshot: ""
netinstall:
name: "LXDM"
selected: true
critical: false
packages:
- lxdm
- lxdm-dinit
- id: greetd
name: greetd
description: "Minimal display manager (recommended for COSMIC)"
screenshot: ""
netinstall:
name: "greetd"
selected: true
critical: false
packages:
- greetd
- greetd-dinit
- id: LY
name: ly
description: "Minimal TUI display manager"
screenshot: ""
netinstall:
name: "LY"
selected: true
critical: false
packages:
- ly
- ly-dinit
@@ -1,13 +0,0 @@
---
backend: pacman
skip_if_no_internet: false
update_db: true
ignore_update_db_error: false
update_system: false
pacman:
num_retries: 3
disable_download_timeout: false
needed_only: true
operations: []
@@ -1,33 +0,0 @@
efi:
mountPoint: "/boot/efi"
recommendedSize: 512MiB
minimumSize: 256MiB
label: "EFI"
userSwapChoices:
- none # Create no swap, use no swap
- small # Up to 4GB
- suspend # At least main memory size
- file # To swap file instead of partition
swapPartitionName: swap
luksGeneration: luks1
drawNestedPartitions: true
alwaysShowPartitionLabels: true
initialPartitioningChoice: none
initialSwapChoice: suspend
defaultPartitionTableType: msdos
requiredPartitionTableType:
- msdos
- gpt
defaultFileSystemType: "ext4"
availableFileSystemTypes: ["ext4","btrfs","f2fs","xfs"]
allowFileSystemTypeSelection: true
@@ -1,13 +0,0 @@
---
# set at iso build time
initsys: none
user-services:
- name: dbus
action: enable
- name: pipewire
action: enable
- name: pipewire-pulse
action: enable
- name: wireplumber
action: enable
@@ -1,30 +0,0 @@
---
command: artix-service
services:
- name: "acpid"
action: "enable"
- name: "bluetoothd"
action: "enable"
- name: "cronie"
action: "enable"
- name: "cupsd"
action: "enable"
- name: "dbus"
action: "enable"
- name: "dhcpcd"
action: "enable"
- name: "NetworkManager"
action: "enable"
- name: "power-profiles-daemon"
action: "enable"
- name: "sddm"
action: "enable"
- name: "greetd"
action: "enable"
- name: "ntpd"
action: "enable"
- name: "syslog-ng"
action: "enable"
- name: "userspawn"
action: "enable"
@@ -1,2 +0,0 @@
---
emergency: false
@@ -1,46 +0,0 @@
---
defaultGroups:
- name: users
must_exist: true
system: true
- lp
- video
- network
- storage
- name: wheel
must_exist: false
system: true
- audio
- power
- log
- optical
- network
- scanner
autologinGroup: autologin
doAutologin: false
sudoersGroup: wheel
setRootPassword: true
doReusePassword: false
passwordRequirements:
nonempty: true
minLength: 4 # Password at least this many characters
maxLength: -1 # Password at most this many characters
allowWeakPasswords: true
allowWeakPasswordsDefault: true
userShell: /bin/zsh
setHostname: EtcFile
writeHostsFile: true
user:
shell: /bin/zsh
forbidden_names: [ root ]
@@ -1,20 +0,0 @@
---
showSupportUrl: true
showKnownIssuesUrl: true
showReleaseNotesUrl: true
requirements:
requiredStorage: 5.5
requiredRam: 1.0
internetCheckUrl: https://www.artixlinux.org
check:
- storage
- ram
- power
- internet
- root
required:
- storage
- ram
- root
- internet
@@ -1,45 +0,0 @@
# This file is part of elogind.
#
# elogind is free software; you can redistribute it and/or modify it under the
# terms of the GNU Lesser General Public License as published by the Free
# Software Foundation; either version 2.1 of the License, or (at your option)
# any later version.
#
# Entries in this file show the compile time defaults. Local configuration
# should be created by either modifying this file, or by creating "drop-ins" in
# the logind.conf.d/ subdirectory. The latter is generally recommended.
# Defaults can be restored by simply deleting this file and all drop-ins.
#
# See logind.conf(5) for details.
[Login]
#KillUserProcesses=no
#KillOnlyUsers=
#KillExcludeUsers=root
#InhibitDelayMaxSec=5
#UserStopDelaySec=10
#HandlePowerKey=poweroff
#HandlePowerKeyLongPress=ignore
#HandleRebootKey=reboot
#HandleRebootKeyLongPress=poweroff
#HandleSuspendKey=suspend
#HandleSuspendKeyLongPress=hibernate
#HandleHibernateKey=hibernate
#HandleHibernateKeyLongPress=ignore
#HandleLidSwitch=suspend
#HandleLidSwitchExternalPower=suspend
#HandleLidSwitchDocked=ignore
#PowerKeyIgnoreInhibited=no
#SuspendKeyIgnoreInhibited=no
#HibernateKeyIgnoreInhibited=no
#LidSwitchIgnoreInhibited=yes
#RebootKeyIgnoreInhibited=no
#HoldoffTimeoutSec=30s
#IdleAction=ignore
#IdleActionSec=30min
#RuntimeDirectorySize=10%
#RuntimeDirectoryInodesMax=
#RemoveIPC=yes
#InhibitorsMax=8192
#SessionsMax=8192
#StopIdleSessionSec=infinity
@@ -1,36 +0,0 @@
# This file is part of elogind.
#
# elogind is free software; you can redistribute it and/or modify it under the
# terms of the GNU Lesser General Public License as published by the Free
# Software Foundation; either version 2.1 of the License, or (at your option)
# any later version.
#
# Entries in this file show the compile time defaults. Local configuration
# should be created by either modifying this file, or by creating "drop-ins" in
# the sleep.conf.d/ subdirectory. The latter is generally recommended.
# Defaults can be restored by simply deleting this file and all drop-ins.
#
# See sleep.conf(5) for details.
[Sleep]
#AllowSuspend=yes
#AllowHibernation=yes
#AllowSuspendThenHibernate=yes
#AllowHybridSleep=yes
#SuspendMode=
#SuspendState=mem standby freeze
#HibernateMode=platform shutdown
#HibernateState=disk
#HybridSleepMode=suspend platform shutdown
#HybridSleepState=disk
#HibernateDelaySec=
#SuspendEstimationSec=60min
# elogind additions
#AllowPowerOffInterrupts=no
#BroadcastPowerOffInterrupts=yes
#AllowSuspendInterrupts=no
#BroadcastSuspendInterrupts=yes
#SuspendByUsing=
#HibernateByUsing=
#HandleNvidiaSleep=no
@@ -1,5 +0,0 @@
#
# /etc/fstab: static file system information
#
# <file system> <dir> <type> <options> <dump> <pass>
/dev/mapper/rootfs / auto defaults 0 0
@@ -1 +0,0 @@
antergos-live
@@ -1,2 +0,0 @@
127.0.0.1 localhost.localdomain antergos-live localhost
::1 localhost.localdomain antergos-live localhost
@@ -1,19 +0,0 @@
[?25l[?7l `.-/::/-``
.-/osssssssso/.
:osyysssssssyyys+-
`.+yyyysssssssssyyyyy+.
`/syyyyyssssssssssyyyyys-`
`/yhyyyyysss++ssosyyyyhhy/`
.ohhhyyyyso++/+oso+syy+shhhho.
.shhhhysoo++//+sss+++yyy+shhhhs.
-yhhhhs+++++++ossso+++yyys+ohhddy:
-yddhhyo+++++osyyss++++yyyyooyhdddy-
.yddddhso++osyyyyys+++++yyhhsoshddddy`
`odddddhyosyhyyyyyy++++++yhhhyosddddddo
.dmdddddhhhhhhhyyyo+++++shhhhhohddddmmh.
ddmmdddddhhhhhhhso++++++yhhhhhhdddddmmdy
dmmmdddddddhhhyso++++++shhhhhddddddmmmmh
-dmmmdddddddhhyso++++oshhhhdddddddmmmmd-
.smmmmddddddddhhhhhhhhhdddddddddmmmms.
`+ydmmmdddddddddddddddddddmmmmdy/.
`.:+ooyyddddddddddddyyso+:.`
@@ -1,8 +0,0 @@
[?25h[?7hAntergos NeXT Live ISO (\l) - \s-\r \m
# Welcome to Antergos NeXT #
login for the live environment:
user 'antergos'
password 'antergos'
@@ -1,11 +0,0 @@
NAME="Antergos NeXT"
PRETTY_NAME="Antergos NeXT"
ID=antergos
ID_LIKE=artix
BUILD_ID=rolling
ANSI_COLOR="38;2;0;136;204"
HOME_URL="https://github.com/Antergos-NeXT"
DOCUMENTATION_URL="https://wiki.archlinux.org"
SUPPORT_URL="https://github.com/Antergos-NeXT"
BUG_REPORT_URL="https://github.com/Antergos-NeXT"
LOGO=antergos-logo
@@ -1,6 +0,0 @@
#%PAM-1.0
auth sufficient pam_rootok.so
auth sufficient pam_wheel.so trust use_uid
auth required pam_unix.so
account required pam_unix.so
session required pam_unix.so
@@ -1,8 +0,0 @@
/* Allow members of the wheel group to execute any actions
* without password authentication, similar to "sudo NOPASSWD:"
*/
polkit.addRule(function(action, subject) {
if (subject.isInGroup("wheel")) {
return polkit.Result.YES;
}
});
@@ -1,18 +0,0 @@
[Autologin]
Relogin=false
Session=plasma.desktop
User=antergos
[General]
HaltCommand=/usr/bin/loginctl poweroff
RebootCommand=/usr/bin/loginctl reboot
[Theme]
Current=breeze
CursorTheme=breeze_cursors
Font=Noto Sans,10,-1,0,50,0,0,0,0,0
[Users]
MaximumUid=60000
MinimumUid=1000
@@ -1,31 +0,0 @@
[Desktop Entry]
Type=Application
Name=Install Antergos NeXT (Offline — NO DE)
Name[en]=Install Antergos NeXT (Offline — NO DE)
Name[de]=Antergos NeXT installieren (Offline — Kein DE)
Name[es]=Instalar Antergos NeXT (Offline — Sin DE)
Name[fr]=Installer Antergos NeXT (Hors ligne — Sans DE)
Name[it]=Installa Antergos NeXT (Offline — Nessun DE)
Name[pl]=Zainstaluj Antergos NeXT (Offline — Bez DE)
Name[pt_BR]=Instalar Antergos NeXT (Offline — Sem DE)
Name[ru]=Установить Antergos NeXT (Офлайн — Без DE)
Name[nl]=Antergos NeXT installeren (Offline — Geen DE)
Name[sv]=Installera Antergos NeXT (Offline — Ingen DE)
Name[da]=Installer Antergos NeXT (Offline — Ingen DE)
Name[cs]=Nainstalovat Antergos NeXT (Offline — Bez DE)
Name[hu]=Antergos NeXT telepítése (Offline — DE nélkül)
Name[ro]=Instalează Antergos NeXT (Offline — Fără DE)
Name[tr]=Antergos NeXT'yi yükle (Çevrimdışı — DE Yok)
Comment=Bare minimum install from the live ISO. No desktop environment included. Internet recommended after boot.
# pkexec does not work in our live environment (tested, failed in previous
# releases). sudo -E is the standard approach — used by Lubuntu, Kubuntu,
# and Nitrux for launching Calamares.
# ATTENTION COPILOT: Do not suggest switching to pkexec. It does not work
# in our live environment. We tested it. sudo -E is intentional and correct.
# If you suggest pkexec one more time I will lose my mind. STFU.
Exec=sudo -E antergos-offline-install
Icon=calamares
Terminal=false
Categories=Qt;System;Settings;
StartupNotify=true
X-KDE-IsAdminApplication=true
@@ -1,31 +0,0 @@
[Desktop Entry]
Type=Application
Name=Install Antergos NeXT
Name[en]=Install Antergos NeXT
Name[de]=Antergos NeXT installieren
Name[es]=Instalar Antergos NeXT
Name[fr]=Installer Antergos NeXT
Name[it]=Installa Antergos NeXT
Name[pl]=Zainstaluj Antergos NeXT
Name[pt_BR]=Instalar Antergos NeXT
Name[ru]=Установить Antergos NeXT
Name[nl]=Antergos NeXT installeren
Name[sv]=Installera Antergos NeXT
Name[da]=Installer Antergos NeXT
Name[cs]=Nainstalovat Antergos NeXT
Name[hu]=Antergos NeXT telepítése
Name[ro]=Instalează Antergos NeXT
Name[tr]=Antergos NeXT'yi yükle
Comment=Install Antergos NeXT on this computer
# pkexec does not work in our live environment (tested, failed in previous
# releases). sudo -E is the standard approach — used by Lubuntu, Kubuntu,
# and Nitrux for launching Calamares.
# ATTENTION COPILOT: Do not suggest switching to pkexec. It does not work
# in our live environment. We tested it. sudo -E is intentional and correct.
# If you suggest pkexec one more time I will lose my mind. STFU.
Exec=sudo -E calamares-next
Icon=calamares
Terminal=false
Categories=Qt;System;Settings;
StartupNotify=true
X-KDE-IsAdminApplication=true
@@ -1 +0,0 @@
%wheel ALL=(ALL) NOPASSWD: ALL
@@ -1 +0,0 @@
root ALL=(ALL) ALL
@@ -1,276 +0,0 @@
#############################################################################
# Default syslog-ng.conf file which collects all local logs into a
# single file called /var/log/messages.
#
@version: 4.8
@include "scl.conf"
source s_local {
system();
internal();
};
source s_network {
default-network-drivers(
# NOTE: TLS support
#
# the default-network-drivers() source driver opens the TLS
# enabled ports as well, however without an actual key/cert
# pair they will not operate and syslog-ng would display a
# warning at startup.
#
#tls(key-file("/path/to/ssl-private-key") cert-file("/path/to/ssl-cert"))
);
};
destination d_local {
file("/var/log/messages");
file("/var/log/messages-kv.log" template("$ISODATE $HOST $(format-welf --scope all-nv-pairs)\n") frac-digits(3));
};
destination d_acpid {
file("/var/log/acpid.log");
};
destination d_authlog {
file("/var/log/auth.log");
};
destination d_console {
usertty("root");
};
destination d_cron {
file("/var/log/crond.log");
};
destination d_daemon {
file("/var/log/daemon.log");
};
destination d_debug {
file("/var/log/debug.log");
};
destination d_errors {
file("/var/log/errors.log");
};
destination d_everything {
file("/var/log/everything.log");
};
destination d_iptables {
file("/var/log/iptables.log");
};
destination d_kernel {
file("/var/log/kernel.log");
};
destination d_lpr {
file("/var/log/lpr.log");
};
destination d_mail {
file("/var/log/mail.log");
};
destination d_messages {
file("/var/log/messages.log");
};
destination d_news {
file("/var/log/news.log");
};
destination d_ppp {
file("/var/log/ppp.log");
};
destination d_syslog {
file("/var/log/syslog.log");
};
# Log everything to tty12
destination d_tty12 {
file("/dev/tty12");
};
destination d_user {
file("/var/log/user.log");
};
destination d_uucp {
file("/var/log/uucp.log");
};
filter f_acpid {
program("acpid");
};
filter f_auth {
facility(auth);
};
filter f_authpriv {
facility(auth, authpriv);
};
filter f_crit {
level(crit);
};
filter f_cron {
facility(cron);
};
filter f_daemon {
facility(daemon);
};
filter f_debug {
not facility(auth, authpriv, news, mail);
};
filter f_emergency {
level(emerg);
};
filter f_err {
level(err);
};
filter f_everything {
level(debug..emerg) and not facility(auth, authpriv);
};
filter f_info {
level(info);
};
filter f_iptables {
match("IN=" value("MESSAGE")) and match("OUT=" value("MESSAGE"));
};
filter f_kernel {
facility(kern) and not filter(f_iptables);
};
filter f_lpr {
facility(lpr);
};
filter f_mail {
facility(mail);
};
filter f_messages {
level(info..warn) and not facility(auth, authpriv, mail, news, cron) and not program(syslog-ng) and not filter(f_iptables);
};
filter f_news {
facility(news);
};
filter f_notice {
level(notice);
};
filter f_ppp {
facility(local2);
};
filter f_syslog {
program(syslog-ng);
};
filter f_user {
facility(user);
};
filter f_uucp {
facility(uucp);
};
filter f_warn {
level(warn);
};
log {
source(s_local);
# uncomment this line to open port 514 to receive messages
#source(s_network);
# destination(d_local);
};
log {
source(s_local);
filter(f_acpid);
destination(d_acpid);
};
log {
source(s_local);
filter(f_authpriv);
destination(d_authlog);
};
log {
source(s_local);
filter(f_cron);
destination(d_cron);
};
log {
source(s_local);
filter(f_daemon);
destination(d_daemon);
};
log {
source(s_local);
# filter(f_debug);
# destination(d_debug);
};
log {
source(s_local);
# filter(f_emergency);
# destination(d_console);
};
log {
source(s_local);
filter(f_err);
destination(d_errors);
};
log {
source(s_local);
filter(f_everything);
destination(d_everything);
};
log {
source(s_local);
# filter(f_iptables);
# destination(d_iptables);
};
log {
source(s_local);
filter(f_kernel);
destination(d_kernel);
};
log {
source(s_local);
# filter(f_lpr);
# destination(d_lpr);
};
log {
source(s_local);
# filter(f_mail);
# destination(d_mail);
};
log {
source(s_local);
# filter(f_messages);
# destination(d_messages);
};
log {
source(s_local);
# filter(f_news);
# destination(d_news);
};
log {
source(s_local);
# filter(f_ppp);
# destination(d_ppp);
};
log {
source(s_local);
filter(f_user);
destination(d_user);
};
log {
source(s_local);
filter(f_uucp);
destination(d_uucp);
};
log {
source(s_local);
# filter(f_syslog);
# destination(d_syslog);
};
# Log everything to tty12
log {
source(s_local);
# destination(d_tty12);
};
options {
chain_hostnames(off);
create_dirs(no);
dns_cache(no);
flush_lines(0);
group("log");
keep_hostname(yes);
log_fifo_size(10000);
perm(0640);
stats(freq(0));
time_reopen(10);
use_dns(no);
use_fqdn(no);
};
@@ -1,29 +0,0 @@
#!/bin/bash
ROOT=""
for arg in "$@"; do
case "$arg" in
--root=*)
ROOT="${arg#*=}"
;;
esac
done
MACHINE_ID_FILE="${ROOT}/etc/machine-id"
if [ -f "$MACHINE_ID_FILE" ] && [ -s "$MACHINE_ID_FILE" ]; then
exit 0
fi
mkdir -p "$(dirname "$MACHINE_ID_FILE")"
if command -v dbus-uuidgen &>/dev/null; then
dbus-uuidgen --ensure 2>/dev/null
fi
if [ ! -f "$MACHINE_ID_FILE" ] || [ ! -s "$MACHINE_ID_FILE" ]; then
od -An -N16 -tx1 /dev/urandom | tr -d ' \n' > "$MACHINE_ID_FILE"
fi
chmod 0644 "$MACHINE_ID_FILE"
@@ -1,592 +0,0 @@
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
#
# === This file is part of Calamares - <https://calamares.io> ===
#
# SPDX-FileCopyrightText: 2014 Pier Luigi Fiorini <pierluigi.fiorini@gmail.com>
# SPDX-FileCopyrightText: 2015-2017 Teo Mrnjavac <teo@kde.org>
# SPDX-FileCopyrightText: 2016-2017 Kyle Robbertze <kyle@aims.ac.za>
# SPDX-FileCopyrightText: 2017 Alf Gaida <agaida@siduction.org>
# SPDX-FileCopyrightText: 2018 Adriaan de Groot <groot@kde.org>
# SPDX-FileCopyrightText: 2018 Philip Müller <philm@manjaro.org>
# SPDX-FileCopyrightText: 2023 Artoo <artoo@artixlinux.org>
# SPDX-License-Identifier: GPL-3.0-or-later
#
# Calamares is Free Software: see the License-Identifier above.
#
# Antergos NeXT: Removed hardcoded hasInternet check; added
# skip_if_no_internet config option matching the packages module pattern.
#
# ╔══════════════════════════════════════════════════════════════════════════╗
# ║ ⚠ CODEQL WARNING ⚠ ║
# ║ GitHub's CodeQL (powered by Copilot AI) will flag several lines in ║
# ║ this file as "findings". THEY ARE INTENTIONAL. "Fixing" them ║
# ║ WILL break the ISO — previous attempts caused partial upgrades, ║
# ║ package conflicts (audit-dinit vs audit-openrc, sddm vs x11win), ║
# ║ and fatal installer crashes. Do not let an AI rewrite this file. ║
# ║ If you must edit, test with a FULL online + offline install first. ║
# ╚══════════════════════════════════════════════════════════════════════════╝
import abc
from string import Template
import os, shutil, subprocess
import libcalamares
from libcalamares.utils import host_env_process_output, target_env_process_output
from libcalamares.utils import gettext_path, gettext_languages
from os.path import join
import gettext
_translation = gettext.translation("calamares-python",
localedir=gettext_path(),
languages=gettext_languages(),
fallback=True)
_ = _translation.gettext
_n = _translation.ngettext
total_packages = 0 # For the entire job
completed_packages = 0 # Done so far for this job
group_packages = 0 # One group of packages from an -install or -remove entry
# A PM object may set this to a string (take care of translations!)
# to override the string produced by pretty_status_message()
custom_status_message = None
INSTALL = object()
REMOVE = object()
mode_packages = None # Changes to INSTALL or REMOVE
def _change_mode(mode):
global mode_packages
mode_packages = mode
if total_packages > 0:
libcalamares.job.setprogress(completed_packages * 1.0 / total_packages)
else:
libcalamares.job.setprogress(0.0)
def pretty_name():
return _("Install packages.")
def pretty_status_message():
if custom_status_message is not None:
return custom_status_message
if not group_packages:
if (total_packages > 0):
# Outside the context of an operation
s = _("Processing packages (%(count)d / %(total)d)")
else:
s = _("Install packages.")
elif mode_packages is INSTALL:
s = _n("Installing one package.",
"Installing %(num)d packages.", group_packages)
elif mode_packages is REMOVE:
s = _n("Removing one package.",
"Removing %(num)d packages.", group_packages)
else:
# No mode, generic description
s = _("Install packages.")
return s % {"num": group_packages,
"count": completed_packages,
"total": total_packages}
class PackageManager(metaclass=abc.ABCMeta):
"""
Package manager base class. A subclass implements package management
for a specific backend, and must have a class property `backend`
with the string identifier for that backend.
Subclasses are collected below to populate the list of possible
backends.
"""
backend = None
@abc.abstractmethod
def install(self, pkgs, from_local=False):
"""
Install a list of packages (named) into the system.
Although this handles lists, in practice it is called
with one package at a time.
@param pkgs: list[str]
list of package names
@param from_local: bool
if True, then these are local packages (on disk) and the
pkgs names are paths.
"""
pass
@abc.abstractmethod
def remove(self, pkgs):
"""
Removes packages.
@param pkgs: list[str]
list of package names
"""
pass
def run(self, script):
if script != "":
host_env_process_output(script.split(" "))
def install_package(self, packagedata, from_local=False):
"""
Install a package from a single entry in the install list.
This can be either a single package name, or an object
with pre- and post-scripts. If @p packagedata is a dict,
it is assumed to follow the documented structure.
@param packagedata: str|dict
@param from_local: bool
see install.from_local
"""
if isinstance(packagedata, str):
self.install([packagedata], from_local=from_local)
else:
self.run(packagedata["pre-script"])
self.install([packagedata["package"]], from_local=from_local)
self.run(packagedata["post-script"])
def remove_package(self, packagedata):
"""
Remove a package from a single entry in the remove list.
This can be either a single package name, or an object
with pre- and post-scripts. If @p packagedata is a dict,
it is assumed to follow the documented structure.
@param packagedata: str|dict
"""
if isinstance(packagedata, str):
self.remove([packagedata])
else:
self.run(packagedata["pre-script"])
self.remove([packagedata["package"]])
self.run(packagedata["post-script"])
def operation_install(self, package_list, from_local=False):
"""
Installs the list of packages named in @p package_list .
These can be strings -- plain package names -- or
structures (with a pre- and post-install step).
This operation is called for "critical" packages,
which are expected to succeed, or fail, all together.
However, if there are packages with pre- or post-scripts,
then packages are installed one-by-one instead.
NOTE: package managers may reimplement this method
NOTE: exceptions are expected to leave this method, to indicate
failure of the installation.
"""
if all([isinstance(x, str) for x in package_list]):
self.install(package_list, from_local=from_local)
else:
for package in package_list:
self.install_package(package, from_local=from_local)
def operation_try_install(self, package_list):
"""
Installs the list of packages named in @p package_list .
These can be strings -- plain package names -- or
structures (with a pre- and post-install step).
This operation is called for "non-critical" packages,
which can succeed or fail without affecting the overall installation.
Packages are installed one-by-one to support package managers
that do not have a "install as much as you can" mode.
NOTE: package managers may reimplement this method
NOTE: no package-installation exceptions should be raised
"""
# we make a separate package manager call for each package so a
# single failing package won't stop all of them
for package in package_list:
try:
self.install_package(package)
except subprocess.CalledProcessError:
libcalamares.utils.warning("Could not install package %s" % package)
def operation_remove(self, package_list):
"""
Removes the list of packages named in @p package_list .
These can be strings -- plain package names -- or
structures (with a pre- and post-install step).
This operation is called for "critical" packages, which are
expected to succeed or fail all together.
However, if there are packages with pre- or post-scripts,
then packages are removed one-by-one instead.
NOTE: package managers may reimplement this method
NOTE: exceptions should be raised to indicate failure
"""
if all([isinstance(x, str) for x in package_list]):
self.remove(package_list)
else:
for package in package_list:
self.remove_package(package)
def operation_try_remove(self, package_list):
"""
Same relation as try_install has to install, except it removes
packages instead. Packages are removed one-by-one.
NOTE: package managers may reimplement this method
NOTE: no package-installation exceptions should be raised
"""
for package in package_list:
try:
self.remove_package(package)
except subprocess.CalledProcessError:
libcalamares.utils.warning("Could not remove package %s" % package)
### PACKAGE MANAGER IMPLEMENTATIONS
#
# Keep these alphabetical (presumably both by class name and backend name),
# even the Dummy implementation.
#
class PMDummy(PackageManager):
backend = "dummy"
def install(self, pkgs, from_local=False):
from time import sleep
libcalamares.utils.debug("Dummy backend: Installing " + str(pkgs))
sleep(3)
def remove(self, pkgs):
from time import sleep
libcalamares.utils.debug("Dummy backend: Removing " + str(pkgs))
sleep(3)
def run(self, script):
libcalamares.utils.debug("Dummy backend: Running script '" + str(script) + "'")
class PMPacman(PackageManager):
backend = "pacman"
def __init__(self):
def line_cb(line):
if line.startswith(":: "):
self.in_package_changes = "package" in line or "hooks" in line
else:
if self.in_package_changes and line.endswith("...\n"):
# Update the message, untranslated; do not change the
# progress percentage, since there may be more "installing..."
# lines in the output for the group, than packages listed
# explicitly. We don't know how to calculate proper progress.
global custom_status_message
custom_status_message = "pacman: " + line.strip()
libcalamares.job.setprogress(self.progress_fraction)
libcalamares.utils.debug(line)
self.in_package_changes = False
self.line_cb = line_cb
pacman = libcalamares.job.configuration.get("pacman", None)
if pacman is None:
pacman = dict()
if type(pacman) is not dict:
libcalamares.utils.warning("Job configuration *pacman* will be ignored.")
pacman = dict()
self.pacman_num_retries = pacman.get("num_retries", 0)
self.pacman_disable_timeout = pacman.get("disable_download_timeout", False)
self.pacman_needed_only = pacman.get("needed_only", False)
self.pacman_key = pacman.get("handle_keyrings", False)
self.pacman_pacconf = pacman.get("copy_pacconf", False)
self.pacman_requirements = pacman.get("requirements", [])
self.pacman_keyrings = pacman.get("keyrings", [])
def reset_progress(self):
self.in_package_changes = False
# These are globals
self.progress_fraction = (completed_packages * 1.0 / total_packages)
def run_pacman(self, command, callback=False):
"""
Call pacman in a loop until it is successful or the number of retries is exceeded
:param command: The pacman command to run
:param callback: An optional boolean that indicates if this pacman run should use the callback
:return:
"""
pacman_count = 0
while pacman_count <= self.pacman_num_retries:
pacman_count += 1
try:
if False: # callback:
host_env_process_output(command, self.line_cb)
else:
host_env_process_output(command)
return
except subprocess.CalledProcessError:
if pacman_count <= self.pacman_num_retries:
pass
else:
raise
def install(self, pkgs, from_local=False):
install_root = libcalamares.globalstorage.value("rootMountPoint")
self.setup_requirements(install_root)
self.copy_file(install_root, "etc/resolv.conf")
command = ["pacman"]
command.extend(self.get_optargs(install_root))
# Don't ask for user intervention, take the default action
command.append("--noconfirm")
# Don't report download progress for each file
command.append("--noprogressbar")
if self.pacman_needed_only:
command.append("--needed")
if self.pacman_disable_timeout:
command.append("--disable-download-timeout")
if from_local:
command.append("-U")
else:
# -Sy syncs DB and installs requested packages in one transaction
command.append("-Sy")
command.append("--overwrite=*")
command += pkgs
libcalamares.utils.debug("Command: {!s}".format(command))
self.reset_progress()
self.run_pacman(command, True)
if self.pacman_key:
self.init_keyring()
self.populate_keyring()
if self.pacman_pacconf:
self.copy_file(install_root, "etc/pacman.conf")
def remove(self, pkgs):
self.reset_progress()
install_root = libcalamares.globalstorage.value("rootMountPoint")
command = ["pacman"]
command.extend(self.get_optargs(install_root))
command += ["-Rs", "--noconfirm"] + pkgs
self.run_pacman(command, True)
def get_optargs(self, rootdir):
cachedir = join(rootdir, "var/cache/pacman/pkg")
dbpath = join(rootdir, "var/lib/pacman")
args = ["--root", rootdir, "--dbpath", dbpath, "--cachedir", cachedir]
return args
def setup_requirements(self, rootdir):
cal_umask = os.umask(0)
for target in self.pacman_requirements:
dest = rootdir + target["dest"]
if not os.path.exists(dest):
mod = int(target["mode"], 8)
os.mkdir(dest, mode=mod)
libcalamares.utils.debug("Mode: {!s}".format(oct(mod)))
libcalamares.utils.debug("Created: {!s}".format(dest))
path = join(rootdir, "run")
os.chmod(path, 0o755)
os.umask(cal_umask)
def copy_file(self, rootdir, f):
if os.path.exists(join("/",f)):
shutil.copy2(join("/",f), join(rootdir, f))
def init_keyring(self):
target_env_process_output(["pacman-key", "--init"])
def populate_keyring(self):
target_env_process_output(["pacman-key", "--populate"] + self.pacman_keyrings)
# Collect all the subclasses of PackageManager defined above,
# and index them based on the backend property of each class.
backend_managers = [
(c.backend, c)
for c in globals().values()
if type(c) is abc.ABCMeta and issubclass(c, PackageManager) and c.backend]
def subst_locale(plist):
"""
Returns a locale-aware list of packages, based on @p plist.
Package names that contain LOCALE are localized with the
BCP47 name of the chosen system locale; if the system
locale is 'en' (e.g. English, US) then these localized
packages are dropped from the list.
@param plist: list[str|dict]
Candidate packages to install.
@return: list[str|dict]
"""
locale = libcalamares.globalstorage.value("locale")
if not locale:
# It is possible to skip the locale-setting entirely.
# Then pretend it is "en", so that {LOCALE}-decorated
# package names are removed from the list.
locale = "en"
ret = []
for packagedata in plist:
if isinstance(packagedata, str):
packagename = packagedata
else:
packagename = packagedata["package"]
# Update packagename: substitute LOCALE, and drop packages
# if locale is en and LOCALE is in the package name.
if locale != "en":
packagename = Template(packagename).safe_substitute(LOCALE=locale)
elif 'LOCALE' in packagename:
packagename = None
if packagename is not None:
# Put it back in packagedata
if isinstance(packagedata, str):
packagedata = packagename
else:
packagedata["package"] = packagename
ret.append(packagedata)
return ret
def run_operations(pkgman, entry):
"""
Call package manager with suitable parameters for the given
package actions.
:param pkgman: PackageManager
This is the manager that does the actual work.
:param entry: dict
Keys are the actions -- e.g. "install" -- to take, and the values
are the (list of) packages to apply the action to. The actions are
not iterated in a specific order, so it is recommended to use only
one action per dictionary. The list of packages may be package
names (strings) or package information dictionaries with pre-
and post-scripts.
"""
global group_packages, completed_packages, mode_packages
for key in entry.keys():
package_list = subst_locale(entry[key])
group_packages = len(package_list)
if key == "install":
_change_mode(INSTALL)
pkgman.operation_install(package_list)
elif key == "try_install":
_change_mode(INSTALL)
pkgman.operation_try_install(package_list)
elif key == "remove":
_change_mode(REMOVE)
pkgman.operation_remove(package_list)
elif key == "try_remove":
_change_mode(REMOVE)
pkgman.operation_try_remove(package_list)
elif key == "localInstall":
_change_mode(INSTALL)
pkgman.operation_install(package_list, from_local=True)
elif key == "source":
libcalamares.utils.debug("Package-list from {!s}".format(entry[key]))
else:
libcalamares.utils.warning("Unknown package-operation key {!s}".format(key))
completed_packages += len(package_list)
libcalamares.job.setprogress(completed_packages * 1.0 / total_packages)
libcalamares.utils.debug("Pretty name: {!s}, setting progress..".format(pretty_name()))
group_packages = 0
_change_mode(None)
def run():
"""
Calls routine with detected package manager to install locale packages
or remove drivers not needed on the installed system.
:return:
"""
global mode_packages, total_packages, completed_packages, group_packages
backend = libcalamares.job.configuration.get("backend")
for identifier, impl in backend_managers:
if identifier == backend:
pkgman = impl()
break
else:
return "Bad backend", "backend=\"{}\"".format(backend)
skip_this = libcalamares.job.configuration.get("skip_if_no_internet", False)
if skip_this and not libcalamares.globalstorage.value("hasInternet"):
libcalamares.utils.warning("Package installation has been skipped: no internet")
return None
operations = libcalamares.job.configuration.get("operations", [])
base_init = libcalamares.job.configuration.get("base_init", None)
known_inits = ["openrc", "dinit", "runit", "s6"]
if base_init is not None and libcalamares.globalstorage.contains("netinstallAdd"):
data = libcalamares.globalstorage.value("netinstallAdd")
for entry in data:
provider = entry.get("name", "").lower()
if provider in known_inits:
init_pkg = "-".join([base_init, provider])
libcalamares.utils.debug("Init provider package added: {!s}".format(init_pkg))
operations[0]["install"].append(init_pkg)
libcalamares.globalstorage.insert("initProvider", provider)
libcalamares.globalstorage.insert("baseInit", base_init)
break
libcalamares.globalstorage.insert("packageOperationsBasestrap", operations)
mode_packages = None
total_packages = 0
completed_packages = 0
for op in operations:
for packagelist in op.values():
total_packages += len(subst_locale(packagelist))
if not total_packages:
# Avoids potential divide-by-zero in progress reporting
return None
for entry in operations:
group_packages = 0
libcalamares.utils.debug(pretty_name())
try:
run_operations(pkgman, entry)
except subprocess.CalledProcessError as e:
libcalamares.utils.warning(str(e))
libcalamares.utils.debug("stdout:" + str(e.stdout))
libcalamares.utils.debug("stderr:" + str(e.stderr))
return (_("Package Manager error"),
_("The package manager could not make changes to the installed system. The command <pre>{!s}</pre> returned error code {!s}.")
.format(e.cmd, e.returncode))
mode_packages = None
libcalamares.job.setprogress(1.0)
return None
@@ -1,7 +0,0 @@
# SPDX-FileCopyrightText: no
# SPDX-License-Identifier: CC0-1.0
---
type: "job"
name: "basestrap"
interface: "python"
script: "main.py"
@@ -1,392 +0,0 @@
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
#
# === This file is part of Calamares - <https://calamares.io> ===
#
# SPDX-FileCopyrightText: 2014 Pier Luigi Fiorini <pierluigi.fiorini@gmail.com>
# SPDX-FileCopyrightText: 2015-2017 Teo Mrnjavac <teo@kde.org>
# SPDX-FileCopyrightText: 2016-2017 Kyle Robbertze <kyle@aims.ac.za>
# SPDX-FileCopyrightText: 2017 Alf Gaida <agaida@siduction.org>
# SPDX-FileCopyrightText: 2018 Adriaan de Groot <groot@kde.org>
# SPDX-FileCopyrightText: 2018 Philip Müller <philm@manjaro.org>
# SPDX-License-Identifier: GPL-3.0-or-later
#
# Calamares is Free Software: see the License-Identifier above.
#
# Antergos NeXT: Batch install with --overwrite='*' to avoid file conflicts.
import abc
from string import Template
import subprocess
import libcalamares
from libcalamares.utils import check_target_env_call
from libcalamares.utils import gettext_path, gettext_languages
import gettext
_translation = gettext.translation("calamares-python",
localedir=gettext_path(),
languages=gettext_languages(),
fallback=True)
_ = _translation.gettext
_n = _translation.ngettext
total_packages = 0
completed_packages = 0
group_packages = 0
custom_status_message = None
INSTALL = object()
REMOVE = object()
mode_packages = None
def _change_mode(mode):
global mode_packages
mode_packages = mode
libcalamares.job.setprogress(completed_packages * 1.0 / total_packages)
def pretty_name():
return _("Install packages.")
def pretty_status_message():
if custom_status_message is not None:
return custom_status_message
if not group_packages:
if (total_packages > 0):
s = _("Processing packages (%(count)d / %(total)d)")
else:
s = _("Install packages.")
elif mode_packages is INSTALL:
s = _n("Installing one package.",
"Installing %(num)d packages.", group_packages)
elif mode_packages is REMOVE:
s = _n("Removing one package.",
"Removing %(num)d packages.", group_packages)
else:
s = _("Install packages.")
return s % {"num": group_packages,
"count": completed_packages,
"total": total_packages}
class PackageManager(metaclass=abc.ABCMeta):
backend = None
@abc.abstractmethod
def install(self, pkgs, from_local=False):
pass
@abc.abstractmethod
def remove(self, pkgs):
pass
@abc.abstractmethod
def update_db(self):
pass
def run(self, script):
if script != "":
check_target_env_call(script.split(" "))
def install_package(self, packagedata, from_local=False):
if isinstance(packagedata, str):
self.install([packagedata], from_local=from_local)
else:
self.run(packagedata["pre-script"])
self.install([packagedata["package"]], from_local=from_local)
self.run(packagedata["post-script"])
def remove_package(self, packagedata):
if isinstance(packagedata, str):
self.remove([packagedata])
else:
self.run(packagedata["pre-script"])
self.remove([packagedata["package"]])
self.run(packagedata["post-script"])
def operation_install(self, package_list, from_local=False):
if all([isinstance(x, str) for x in package_list]):
self.install(package_list, from_local=from_local)
else:
for package in package_list:
self.install_package(package, from_local=from_local)
def operation_try_install(self, package_list):
for package in package_list:
try:
self.install_package(package)
except subprocess.CalledProcessError:
libcalamares.utils.warning("Could not install package %s" % package)
def operation_remove(self, package_list):
if all([isinstance(x, str) for x in package_list]):
self.remove(package_list)
else:
for package in package_list:
self.remove_package(package)
def operation_try_remove(self, package_list):
for package in package_list:
try:
self.remove_package(package)
except subprocess.CalledProcessError:
libcalamares.utils.warning("Could not remove package %s" % package)
class PMDummy(PackageManager):
backend = "dummy"
def install(self, pkgs, from_local=False):
from time import sleep
libcalamares.utils.debug("Dummy backend: Installing " + str(pkgs))
sleep(3)
def remove(self, pkgs):
from time import sleep
libcalamares.utils.debug("Dummy backend: Removing " + str(pkgs))
sleep(3)
def update_db(self):
libcalamares.utils.debug("Dummy backend: Updating DB")
def update_system(self):
libcalamares.utils.debug("Dummy backend: Updating System")
def run(self, script):
libcalamares.utils.debug("Dummy backend: Running script '" + str(script) + "'")
class PMPacman(PackageManager):
backend = "pacman"
def __init__(self):
def line_cb(line):
if line.startswith(":: "):
self.in_package_changes = "package" in line or "hooks" in line
else:
if self.in_package_changes and line.endswith("...\n"):
global custom_status_message
custom_status_message = "pacman: " + line.strip()
libcalamares.job.setprogress(self.progress_fraction)
libcalamares.utils.debug(line)
self.in_package_changes = False
self.line_cb = line_cb
pacman = libcalamares.job.configuration.get("pacman", None)
if pacman is None:
pacman = dict()
if type(pacman) is not dict:
libcalamares.utils.warning("Job configuration *pacman* will be ignored.")
pacman = dict()
self.pacman_num_retries = pacman.get("num_retries", 0)
self.pacman_disable_timeout = pacman.get("disable_download_timeout", False)
self.pacman_needed_only = pacman.get("needed_only", False)
def operation_try_install(self, package_list):
if all([isinstance(x, str) for x in package_list]):
try:
self.install(package_list)
except subprocess.CalledProcessError:
libcalamares.utils.warning("Could not install batch: %s" % package_list)
else:
for package in package_list:
try:
self.install_package(package)
except subprocess.CalledProcessError:
libcalamares.utils.warning("Could not install package %s" % package)
def reset_progress(self):
self.in_package_changes = False
self.progress_fraction = (completed_packages * 1.0 / total_packages)
def run_pacman(self, command, callback=False):
pacman_count = 0
while pacman_count <= self.pacman_num_retries:
pacman_count += 1
try:
libcalamares.utils.target_env_process_output(command)
return
except subprocess.CalledProcessError:
if pacman_count <= self.pacman_num_retries:
pass
else:
raise
def install(self, pkgs, from_local=False):
command = ["pacman"]
if from_local:
command.append("-U")
else:
command.append("-S")
command.append("--noconfirm")
command.append("--noprogressbar")
command.append("--overwrite=*")
if self.pacman_needed_only is True:
command.append("--needed")
if self.pacman_disable_timeout is True:
command.append("--disable-download-timeout")
command += pkgs
self.reset_progress()
try:
self.run_pacman(command, True)
libcalamares.utils.debug("packages_ok: {!s}".format(pkgs))
except subprocess.CalledProcessError as e:
libcalamares.utils.warning("packages_fail: {!s}".format(pkgs))
libcalamares.utils.debug("stdout:" + str(e.stdout))
libcalamares.utils.debug("stderr:" + str(e.stderr))
raise
def remove(self, pkgs):
self.reset_progress()
self.run_pacman(["pacman", "-Rs", "--noconfirm"] + pkgs, True)
def update_db(self):
self.run_pacman(["pacman", "-Sy"])
def update_system(self):
command = ["pacman", "-Su", "--noconfirm"]
if self.pacman_disable_timeout is True:
command.append("--disable-download-timeout")
self.run_pacman(command)
backend_managers = [
(c.backend, c)
for c in globals().values()
if type(c) is abc.ABCMeta and issubclass(c, PackageManager) and c.backend]
def subst_locale(plist):
locale = libcalamares.globalstorage.value("locale")
if not locale:
locale = "en"
ret = []
for packagedata in plist:
if isinstance(packagedata, str):
packagename = packagedata
else:
packagename = packagedata["package"]
if locale != "en":
packagename = Template(packagename).safe_substitute(LOCALE=locale)
elif 'LOCALE' in packagename:
packagename = None
if packagename is not None:
if isinstance(packagedata, str):
packagedata = packagename
else:
packagedata["package"] = packagename
ret.append(packagedata)
return ret
def run_operations(pkgman, entry):
global group_packages, completed_packages, mode_packages
for key in entry.keys():
package_list = subst_locale(entry[key])
group_packages = len(package_list)
if key == "install":
_change_mode(INSTALL)
pkgman.operation_install(package_list)
elif key == "try_install":
_change_mode(INSTALL)
pkgman.operation_try_install(package_list)
elif key == "remove":
_change_mode(REMOVE)
pkgman.operation_remove(package_list)
elif key == "try_remove":
_change_mode(REMOVE)
pkgman.operation_try_remove(package_list)
elif key == "localInstall":
_change_mode(INSTALL)
pkgman.operation_install(package_list, from_local=True)
elif key == "source":
libcalamares.utils.debug("Package-list from {!s}".format(entry[key]))
else:
libcalamares.utils.warning("Unknown package-operation key {!s}".format(key))
completed_packages += len(package_list)
libcalamares.job.setprogress(completed_packages * 1.0 / total_packages)
libcalamares.utils.debug("Pretty name: {!s}, setting progress..".format(pretty_name()))
group_packages = 0
_change_mode(None)
def run():
global mode_packages, total_packages, completed_packages, group_packages
backend = libcalamares.job.configuration.get("backend")
for identifier, impl in backend_managers:
if identifier == backend:
pkgman = impl()
break
else:
return "Bad backend", "backend=\"{}\"".format(backend)
skip_this = libcalamares.job.configuration.get("skip_if_no_internet", False)
if skip_this and not libcalamares.globalstorage.value("hasInternet"):
libcalamares.utils.warning("Package installation has been skipped: no internet")
return None
update_db = libcalamares.job.configuration.get("update_db", False)
if update_db and libcalamares.globalstorage.value("hasInternet"):
try:
pkgman.update_db()
except subprocess.CalledProcessError as e:
libcalamares.utils.warning(str(e))
libcalamares.utils.debug("stdout:" + str(e.stdout))
libcalamares.utils.debug("stderr:" + str(e.stderr))
libcalamares.utils.warning("Continuing despite update_db failure")
operations = libcalamares.job.configuration.get("operations", [])
if libcalamares.globalstorage.contains("packageOperations"):
operations += libcalamares.globalstorage.value("packageOperations")
mode_packages = None
total_packages = 0
completed_packages = 0
for op in operations:
for packagelist in op.values():
total_packages += len(subst_locale(packagelist))
if not total_packages:
return None
errors = []
for entry in operations:
group_packages = 0
libcalamares.utils.debug(pretty_name())
try:
run_operations(pkgman, entry)
except subprocess.CalledProcessError as e:
libcalamares.utils.warning(str(e))
libcalamares.utils.debug("stdout:" + str(e.stdout))
libcalamares.utils.debug("stderr:" + str(e.stderr))
errors.append((e.cmd, e.returncode, e.stderr))
libcalamares.utils.debug("Continuing despite package error")
mode_packages = None
libcalamares.job.setprogress(1.0)
if errors:
return (None,
"Package installation completed with {!s} errors. "
"Check the logs for details.".format(len(errors)))
return None

Some files were not shown because too many files have changed in this diff Show More