kimberly-build/README.md

254 lines
6.4 KiB
Markdown
Raw Normal View History

2021-01-30 10:06:49 +01:00
# DEVELOPMENT
2021-01-26 14:43:39 +01:00
# Arch Linux Calamares Installer or ALCI
2021-01-26 13:21:38 +01:00
2021-01-27 12:16:03 +01:00
Use the correct version for building the iso.
2021-01-26 13:21:38 +01:00
2021-01-31 18:47:50 +01:00
**Read the archiso.md.**
2021-01-30 10:06:49 +01:00
Download the content of the github with (use the terminal)
`git clone https://github.com/arcolinuxiso/alci-iso`
# Pacman.conf in archiso
Only the archiso/pacman.conf will be used to download your packages.
2021-01-31 17:51:24 +01:00
We created several versions of pacman.conf to be able to switch quickly.
2021-01-30 10:06:49 +01:00
In order to avoid future questions we activated multilib by default on all except no-extra-pacman.conf.
2021-01-31 17:51:24 +01:00
In order to switch quickly we copy/paste the content of the other files in archiso/pacman.conf.
2021-01-30 10:06:49 +01:00
arcolinux-chaotic-pacman.conf
contains both ArcoLinux and chaotic-aur
needs extra packages - mirrorlist and keys
2021-02-08 20:25:22 +01:00
extra line in pacman-init.service
2021-01-30 10:06:49 +01:00
arcolinux-pacman.conf
contains only ArcoLinux
needs extra packages - mirrorlist and keys
2021-02-08 20:25:22 +01:00
extra line in pacman-init.service
2021-01-30 10:06:49 +01:00
chaotic-pacman.conf
contains only chaotic-aur
needs extra packages - mirrorlist and keys
2021-02-08 20:25:22 +01:00
extra line in pacman-init.service
2021-01-30 10:06:49 +01:00
no-extra-pacman.conf
as vanilla as Arch Linux
needs NO extra packages - mirrorlist and keys - no multilib
# Pacman.conf in archiso/airootfs/etc/
This will be your future system.
Include the repositories you want.
It will not be used to build the iso.
# Keys and Mirrors
## ArcoLinux keys and mirror
2021-02-08 20:25:22 +01:00
Add the ArcoLinux keys and Arcolinux mirrors to the packages.x86_64.
Add the ArcoLinux line in
2021-01-30 10:06:49 +01:00
`/archiso/airootfs/etc/systemd/system/pacman-init.service`
2021-02-08 20:25:22 +01:00
2021-01-30 10:06:49 +01:00
## Chaotic keys and mirror
2021-02-08 20:25:22 +01:00
Add the Chaotic keys and Chaotic mirrors to the packages.x86_64.
Add the Chaotic line in
`/archiso/airootfs/etc/systemd/system/pacman-init.service`
2021-01-30 10:06:49 +01:00
# Archiso/packages.x86_64
Only the archiso/packages.x86-64 files will be used.
Check the bottom of the file and install the necessary packages
If you plan to use ArcoLinux packages
* arcolinux-keyring
* arcolinux-mirror
If you plan to use Chaotic packages
* chaotic-keyring
2021-01-27 12:16:03 +01:00
2021-01-31 19:48:03 +01:00
* chaotic-mirrorlist
2021-01-27 12:16:03 +01:00
2021-01-30 10:06:49 +01:00
Now you can add the packagename from the repo.
2021-01-26 13:21:38 +01:00
2021-01-30 10:06:49 +01:00
We have added a backup of the original file called original.packages.x86_64.
We have added an example called example-packages.x86_64.
2021-01-26 13:21:38 +01:00
2021-01-30 10:06:49 +01:00
Use meld to compare differences.
2021-01-27 12:16:03 +01:00
2021-02-01 07:17:13 +01:00
If you know you are going to need drivers for graphical cards or NICs put them on the iso.
I am thinking about xf86-video-intel, nvidia or other drivers.
2021-01-26 13:21:38 +01:00
2021-01-30 10:06:49 +01:00
# Build process
2021-01-26 13:21:38 +01:00
2021-02-08 20:25:22 +01:00
Install these two packages on your system if you want to include **Chaotic packages** on the iso
2021-01-27 12:21:07 +01:00
2021-01-30 10:06:49 +01:00
`sudo pacman -S chaotic-mirror chaotic-keyring`
2021-02-08 20:25:22 +01:00
If not on ArcoLinux you can install them from AUR.
Install these two packages on your system if you want to include **ArcoLinux packages** on the iso
`sudo pacman -S arcolinux-mirrorlist-git arcolinux-keyring`
If not on ArcoLinux you can install from the ALCI-repo with sudo pacman -U.
https://github.com/arcolinuxiso/alci_repo
2021-01-30 10:06:49 +01:00
Accept the **key of Pedro** from Chaotic during installation or install chaotic-keyring.
After editing the necessary files you can start building.
Use the scripts from this folder:
<b>installation-scripts</b>
Use script 30 and it will clean your pacman cache and redownload every package it needs.
Use script 40 to use your current pacman cache - it will only download what is needed
You will find the iso in this folder:
~/Alci-Out
Burn it with etcher or other tools and use it.
Still not sure what to do.
2021-01-27 12:21:07 +01:00
Check out the playlist on Youtube
2021-01-30 10:06:49 +01:00
https://www.youtube.com/playlist?list=PLlloYVGq5pS4vhYQuLikS8dhDjk6xaiXH
2021-01-30 10:57:15 +01:00
# Installation process
Is documented on
https://www.arcolinuxiso.com/arch-linux-calamares-installer/
# After installation
2021-02-01 07:28:19 +01:00
We have added a script to activate your display manager by default.
If you reboot you will boot into a graphical environment.
2021-01-30 10:57:15 +01:00
2021-02-01 07:28:19 +01:00
If you install more than one display manager they will overrule each other.
If you are still in the terminal then activate the display manager of your choice manually.
2021-01-30 10:57:15 +01:00
`sudo systemctl enable gdm`
2021-02-01 07:28:19 +01:00
`sudo systemctl enable lightdm`
2021-01-30 10:57:15 +01:00
`sudo systemctl enable sddm`
Get the pacman databases in
`sudo pacman -Sy`
or update immediately
`sudo pacman -Syyu`
2021-01-30 10:06:49 +01:00
# Arch Linux users
In order to get the keys in from ArcoLinux and Chaotic.
ArcoLinux
Both packages are on github. Keys and mirrors.
https://github.com/arcolinuxiso/alci_repo/tree/master/x86_64
Download them and install them via pacman -U ...
Chaotic
Both packages are on the AUR. Keys and mirrors.
# Tip
Sometime a "proc" folder stays mounted.
Unmount it with this
sudo umount /home/{username}/... use the TAB
# Tip
We have added a /etc/pacman-more.conf file to your future system.
That way we have the ArcoLinux repos and Chaotic repos if we do decide to install it after all.
Remember to install the mirror and keys.
2021-01-30 10:35:30 +01:00
# Tip
Run into issues - remove all packages manually with
2021-02-01 08:22:37 +01:00
`sudo pacman -Scc`
2021-01-30 10:35:30 +01:00
and ensure they are all gone.
# Tip
When using gdm as display manager remember to delete the file /archiso/airootfs/etc/motd from your system. That files comes originally from Arch Linux.
2021-02-01 08:04:09 +01:00
To avoid waiting for every login and this nice look.
https://imgur.com/a/EvCN4pm
2021-02-01 08:01:43 +01:00
# Tip
2021-02-02 07:20:16 +01:00
Internet is NOT required for ALCI. Calamares is only using the internet to check where you live to put the red dot correctly on the world map (geoip-. It will not download anything. The list you created in the packages.x86_64 file will be installed.
On demand of our users we have added 3 links to the archiso folder so that in the live environment they will have network manager.
/archiso/airootfs/etc/systemd/system/multi-user.target.wants/NetworkManager.service
/archiso/airootfs/etc/systemd/system/network-online.target.wants/NetworkManager-wait-online.service
/archiso/airootfs/etc/systemd/system/dbus-org.freedesktop.nm-dispatcher.service
If you do not use Networkmanager, you can delete them. You can also keep them as they are pointing to services you have not installed. The links will have no effect at all.
Remember there is still **nmtui** if the gui Networkmanager fails you in some way.
2021-02-01 08:22:37 +01:00
If you did NOT install it on the iso. These are the steps you can still do.
`setxkbmap be - I will set my keyboard to azerty`
`sudo pacman -Sy - get the pacman databases in`
`sudo pacman -S networkmanager - installing the software`
`sudo systemctl enable NetworkManager - mind the capital letters`
`sudo systemctl start NetworkManager`
`nmtui`
Then connect to the wifi.
Then we restart Calamares.
`sudo calamares`