Skip to content

Commit

Permalink
Artemis Nova-T2!
Browse files Browse the repository at this point in the history
  • Loading branch information
NoaHimesaka1873 committed Sep 15, 2022
2 parents d109700 + ae3084f commit c1eb196
Show file tree
Hide file tree
Showing 7 changed files with 48 additions and 22 deletions.
21 changes: 8 additions & 13 deletions calamares-extra-modules/src/modules/README.md
Original file line number Diff line number Diff line change
@@ -1,21 +1,16 @@
### Documentation on why we are using this modified versions will follow here:


1. copy_kernel
1. **copy_kernel:** *unused* now a shellprocess: [shellprocess_ck.conf](https://github.com/endeavouros-team/EndeavourOS-calamares/blob/main/calamares/modules/shellprocess_ck.conf)

2. **eos_script:**
This module is unique to EndeavourOS, and used to integrate the scripts we need to create EndeavourOS and mainly Archlinux specific configurations.
2. **eos_script:** This module is unique to EndeavourOS, and used to integrate the scripts we need to create EndeavourOS and mainly Archlinux specific configurations.

3. **fstab** and ***mount**:
We use the fstab and mount modules from Calamares 3.3. There are a couple of big advantages:
3. **fstab** and ***mount:** We use the fstab and mount modules from Calamares 3.3. There are a couple of big advantages:
* Mount options are now set prior to installation so things like compression are applied to the install itself
* You can now have separate options for both SSDs and HDDs

Mount options are now set prior to installation so things like compression are applied to the install itself
You can now have separate options for both SSDs and HDDs
5. **packages:** We are using a custom version of the packages module to provide feedback to the user during the package installation process

5. packages
6. **pacstrap:** This module is unique to EndeavourOS, and the pure online install method to be close to arch we are using pacstrap for the initial system creation.

6. **pacstrap:**
This module is uniowue to EndeavourOS, and the pure online install method to be close to arch we are using pacstrap for the initial system creation.

7. **userpkglist:**
This module is unique to EndeavourOS, and used on the implementation for users to add a list of packages that will get installed in addition to the system on install process.
7. **userpkglist:** This module is unique to EndeavourOS, and used on the implementation for users to add a list of packages that will get installed in addition to the system on install process.
2 changes: 1 addition & 1 deletion calamares/modules/netinstall.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -447,7 +447,7 @@
- x-apps
- xdg-user-dirs-gtk
- name: "Budgie-Desktop"
description: "Budgie - I Tawt I Taw A Purdy Desktop"
description: "Budgie - an independent, familiar, and modern desktop."
hidden: false
selected: false
critical: true
Expand Down
12 changes: 7 additions & 5 deletions calamares/modules/packagechooser_ce.conf
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ items:
- thunar-archive-plugin
- thunar-media-tags-plugin
- thunar-volman
- ttf-nerd-fonts-symbols
- ttf-nerd-fonts-symbols-2048-em
- tumbler
- xbindkeys
- xclip
Expand Down Expand Up @@ -170,7 +170,7 @@ items:
- thunar-media-tags-plugin
- thunar-volman
- tint2
- ttf-nerd-fonts-symbols
- ttf-nerd-fonts-symbols-2048-em
- tumbler
- xbindkeys
- xcursor-neutral
Expand Down Expand Up @@ -205,6 +205,7 @@ items:
- arc-gtk-theme-eos
- archlinux-xdg-menu
- dex
- dunst
- eos-lightdm-slick-theme
- eos-qogir-icons
- eos-skel-ce-qtile
Expand Down Expand Up @@ -233,7 +234,7 @@ items:
- thunar-media-tags-plugin
- thunar-volman
- ttf-cascadia-code
- ttf-nerd-fonts-symbols
- ttf-nerd-fonts-symbols-2048-em
- tumbler
- xbindkeys
- xcursor-neutral
Expand Down Expand Up @@ -299,7 +300,7 @@ items:
- thunar-media-tags-plugin
- thunar-volman
- ttf-jetbrains-mono
- ttf-nerd-fonts-symbols
- ttf-nerd-fonts-symbols-2048-em
- ttf-ubuntu-font-family
- waybar
- wayland-protocols
Expand Down Expand Up @@ -349,12 +350,13 @@ items:
- picom
- tint2
- rofi
- slock
- sxhkd
- thunar
- thunar-archive-plugin
- thunar-volman
- ttf-jetbrains-mono
- ttf-nerd-fonts-symbols
- ttf-nerd-fonts-symbols-2048-em
- tumbler
- worm
- xcursor-neutral
Expand Down
3 changes: 3 additions & 0 deletions calamares/modules/shellprocess_initialize_pacman.conf
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,9 @@ script:
- command: "bash /etc/calamares/scripts/update-mirrorlist"
timeout: 1200
- "mkdir -p @@ROOT@@/etc/pacman.d/"
- command: "eos-rankmirrors"
timeout: 1200
- "cp /etc/pacman.d/endeavouros-mirrorlist @@ROOT@@/etc/pacman.d/"
- "cp /etc/pacman.d/mirrorlist @@ROOT@@/etc/pacman.d/"
- "cp -a /etc/pacman.d/gnupg @@ROOT@@/etc/pacman.d/"
- "cp /etc/resolv.conf @@ROOT@@/etc/"
Expand Down
4 changes: 4 additions & 0 deletions calamares/modules/shellprocess_initialize_pacman_offline.conf
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,10 @@ script:
- "chmod +x /etc/calamares/scripts/create-pacman-keyring"
- command: "bash /etc/calamares/scripts/create-pacman-keyring"
timeout: 1200
- "chmod +x /etc/calamares/scripts/create-endeavouros-mirrorlist-offline"
- command: "bash /etc/calamares/scripts/create-endeavouros-mirrorlist-offline"
timeout: 1200
- "cp /etc/pacman.d/endeavouros-mirrorlist.offline-install @@ROOT@@/etc/pacman.d/endeavouros-mirrorlist"
- "cp /etc/pacman.d/mirrorlist @@ROOT@@/etc/pacman.d/"
- "cp -a /etc/pacman.d/gnupg @@ROOT@@/etc/pacman.d/"

Expand Down
22 changes: 22 additions & 0 deletions calamares/scripts/create-endeavouros-mirrorlist-offline
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
#!/bin/bash

Main()
{
# Create endeavouros-mirrorlist.offline for offline install.
# Prefer mirrors that work well worldwide.
#
# Assumptions:
# - official /etc/pacman.d/endeavouros-mirrorlist exists
# - the format of country comments is static and unique, e.g.:
# ## Germany

local suffix=".offline-install"
local mirrorlist="/etc/pacman.d/endeavouros-mirrorlist"
local offline="$mirrorlist$suffix"

printf "# EndeavourOS mirrorlist for offline install only.\n\n" > $offline
cat "$mirrorlist" | sed -n '/^## Germany/,/^$/p' >> "$offline"
cat "$mirrorlist" | sed -n '/^## [A-Z].*/,$p' >> "$offline"
}

Main "$@"
6 changes: 3 additions & 3 deletions calamares/scripts/update-mirrorlist
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ CCCheck() { # check validity of country code
GetYourCountryCode() {
local IP code

code="$(curl -Lsm 10 https://ipinfo.io/country)"
code="$(show-location-info country)"
CCCheck "$code" && {
echo "$code" ; return
}
Expand All @@ -41,7 +41,7 @@ GetYourCountryCode() {
echo "$code" ; return
}

code="$(curl ipinfo.io 2>/dev/null | grep '"country":' | sed 's|^.*: "\([A-Z][A-Z]\)",$|\1|')"
code="$(show-location-info country)"
CCCheck "$code" && {
echo "$code" ; return
}
Expand Down Expand Up @@ -118,7 +118,7 @@ RunCmd() {
}

Main() {
local VERSION="2.0.9" # started from 2.0!
local VERSION="2.1" # started from 2.0!
local progname="$(basename "$0")"
local mf=/etc/pacman.d/mirrorlist
local bu=/tmp/mirrorlist.bu # original mirrorlist, saved by Welcome
Expand Down

0 comments on commit c1eb196

Please sign in to comment.