Skip to content

Commit

Permalink
14.04.2021 Update xfce 2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
creio committed Apr 14, 2021
1 parent be4386e commit 3a57676
Show file tree
Hide file tree
Showing 8,501 changed files with 489 additions and 79,582 deletions.
The diff you're trying to view is too large. We only load the first 3000 changed files.
33 changes: 25 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,19 +16,24 @@ Home: https://ctlos.github.io
yay -S git archiso mkinitcpio-archiso --noconfirm --needed
```

> Для сборки необходимо подключить локально [ctlos_repo](https://ctlos.github.io/wiki/install/ctlos-repo/), или изменить под себя pacman.conf и пакеты.
Логика установщика дополнена скриптами [ctlos-sh](https://github.com/ctlos/ctlos-sh) shellprocess. [Исходники calamares](https://github.com/ctlos/calamares), смотрите ветки.

- Archiso version: 52-1

Измените список пакетов.

- Пакеты: `packages.x86_64`

В `pacman.conf` указан репозиторий [Ctlos repo](https://github.com/ctlos/ctlos_repo/tree/master), соответственно пакеты беруться и отсюда `x86_64`.
В `pacman.conf` указан репозиторий [Ctlos repo](https://github.com/ctlos/ctlos_repo/tree/master), соответственно пакеты берутся и отсюда `x86_64`.

- Конфиги системы в `/airootfs` это будущий корень.
- Конфиги пользователя в `/airootfs/etc/skel`.
- Часть конфигов залетает в систему, через пакеты ctlos, [ctlos-skel](https://github.com/ctlos-skel)
- Основной скрипт генерации `/airootfs/root/customize_airootfs.sh`.
- Часть конфигов залетает в систему, через пакеты ctlos, [skel](https://github.com/ctlos/skel)
- Готовый образ и хэши создаются в данной директории `/out`.
- Скрипт `mkarchiso` это немного измененный стандартный скрипт из `archiso`, добавлено выполнение скрипта `chroot.sh` перед сжатием `mksquashfs`.
- Скрипт `/airootfs/usr/local/bin/cleaner.sh` выполняется во время установки в установщике [calamares](https://github.com/ctlos/calamares/blob/net/src/modules/shellprocess/shellprocess.conf), удаление некоторых файлов и каталогов.
- Скрипт `mkarchiso.sh` это немного измененный стандартный скрипт из `archiso`, добавлено выполнение скрипта `chroot.sh` перед сжатием `mksquashfs`.
- Скрипт `/airootfs/usr/local/bin/cleaner.sh` выполняется во время установки в установщике [calamares](https://github.com/ctlos/calamares/blob/dev/src/modules/shellprocess/shellprocess.conf), удаление некоторых файлов и каталогов.
- Скрипт `autobuild.sh` дополнительная обертка над `mkarchiso`.

Мастер(master) ветка по умолчанию, в ней xfce.
Expand All @@ -38,15 +43,27 @@ git clone --depth=1 https://github.com/ctlos/ctlosiso
cd ctlosiso

# делаем скрипты исполняемыми
chmod +x {autobuild.sh,chroot.sh,mkarchiso}
chmod +x {autobuild.sh,chroot.sh,mkarchiso.sh}

# Передаем аргумент de/wm_версия, можно любой, иначе не отработает.

sudo ./autobuild.sh xfce_1.10.0
```

Получить удаленную ветку и переключиться на неё(не обязательно). Список веток меняется и не факт, что в них рабочий код. В `master` на момент коммита код рабочий.

```sh
```bash
git checkout -b dev origin/dev
```

Отладочная информация.

```bash
# Ошибки запуска сервисов
sudo systemctl --all --failed
# log X ~/
cat ~/.local/share/xorg/Xorg.1.log|grep EE
# log X (или тут)
cat /var/log/Xorg.0.log|grep EE
# Ошибки текущей загрузки
sudo journalctl -xb -0 -p 3
```
2 changes: 0 additions & 2 deletions airootfs/etc/hostname
Original file line number Diff line number Diff line change
@@ -1,3 +1 @@
#
# SPDX-License-Identifier: GPL-3.0-or-later
ctlos
14 changes: 0 additions & 14 deletions airootfs/etc/mkinitcpio.d/ctlos.preset

This file was deleted.

2 changes: 1 addition & 1 deletion airootfs/etc/mkinitcpio.d/linux.preset
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,4 @@ PRESETS=('archiso')
ALL_kver='/boot/vmlinuz-linux'
ALL_config='/etc/mkinitcpio.conf'

archiso_image="/boot/archiso.img"
archiso_image="/boot/initramfs-linux.img"
3 changes: 2 additions & 1 deletion airootfs/etc/motd
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,5 @@

LOL.
For Wi-Fi, authenticate to the wireless network using the iwctl utility.
Ethernet and Wi-Fi connections using DHCP should work automatically.
For mobile broadband (WWAN) modems, connect with the mmcli utility.
Ethernet, WLAN and WWAN interfaces using DHCP should work automatically.
6 changes: 4 additions & 2 deletions airootfs/etc/pacman.conf
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ Architecture = auto
Color
ILoveCandy
VerbosePkgLists
VerbosePkgLists
# CheckSpace
# TotalDownload
# UseSyslog
Expand Down Expand Up @@ -33,4 +32,7 @@ Include = /etc/pacman.d/ctlos-mirrorlist

[ctlos-aur]
SigLevel = Optional TrustAll
Server = https://dev.ctlos.ru/ctlos-aur
Server = https://cloud.ctlos.ru/ctlos-aur

[chaotic-aur]
Include = /etc/pacman.d/chaotic-mirrorlist
2 changes: 1 addition & 1 deletion airootfs/etc/pacman.d/hooks/mirrors.hook
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,4 @@ Target = pacman-mirrorlist
Description = Updating /etc/pacman.d/mirrorlist
When = PostTransaction
Depends = reflector
Exec = /bin/sh -c "reflector --protocol https --latest 30 --sort rate --save /etc/pacman.d/mirrorl"
Exec = /bin/sh -c "reflector -a 12 -l 15 -p https,http --sort rate --save /etc/pacman.d/mirrorlist"
11 changes: 11 additions & 0 deletions airootfs/etc/sddm.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
[General]
Numlock=on

[Autologin]
# /usr/share/xsessions
Session=xfce.desktop
User=liveuser

[Theme]
Current=slice
CursorTheme=capitaine-cursors
8 changes: 5 additions & 3 deletions airootfs/etc/systemd/network/20-ethernet.network
Original file line number Diff line number Diff line change
@@ -1,10 +1,12 @@
[Match]
Name=en*
Name=eth*
Type=ether

[Network]
DHCP=yes
IPv6PrivacyExtensions=yes

[DHCP]
[DHCPv4]
RouteMetric=512

[DHCPv6]
RouteMetric=512
8 changes: 5 additions & 3 deletions airootfs/etc/systemd/network/20-wireless.network
Original file line number Diff line number Diff line change
@@ -1,10 +1,12 @@
[Match]
Name=wlp*
Name=wlan*
Type=wlan

[Network]
DHCP=yes
IPv6PrivacyExtensions=yes

[DHCP]
[DHCPv4]
RouteMetric=1024

[DHCPv6]
RouteMetric=1024
12 changes: 12 additions & 0 deletions airootfs/etc/systemd/network/20-wwan.network
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
[Match]
Type=wwan

[Network]
DHCP=yes
IPv6PrivacyExtensions=yes

[DHCPv4]
RouteMetric=2048

[DHCPv6]
RouteMetric=2048
1 change: 1 addition & 0 deletions airootfs/etc/systemd/system/default.target
6 changes: 0 additions & 6 deletions airootfs/etc/systemd/system/[email protected]/autologin.conf

This file was deleted.

2 changes: 0 additions & 2 deletions airootfs/etc/systemd/system/pacman-init.service
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,6 @@

[Unit]
Description=Initializes Pacman keyring
Wants=haveged.service
After=haveged.service
Requires=etc-pacman.d-gnupg.mount
After=etc-pacman.d-gnupg.mount

Expand Down
11 changes: 0 additions & 11 deletions airootfs/etc/systemd/system/reflector.service

This file was deleted.

6 changes: 6 additions & 0 deletions airootfs/etc/xdg/reflector/reflector.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
# Reflector configuration file for the systemd service.

--save /etc/pacman.d/mirrorlist
--protocol https,http
--latest 15
--sort rate
2 changes: 1 addition & 1 deletion airootfs/root/.config/gtk-3.0/settings.ini
100644 → 100755
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[Settings]
gtk-theme-name=Arc-Darker
gtk-theme-name=Arc-Dark
gtk-icon-theme-name=Papirus
gtk-font-name=Clear Sans Medium, Medium 10
gtk-cursor-theme-name=capitaine-cursors
Expand Down
2 changes: 1 addition & 1 deletion airootfs/root/.gtkrc-2.0
100644 → 100755
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# DO NOT EDIT! This file will be overwritten by LXAppearance.
# Any customization should be done in ~/.gtkrc-2.0.mine instead.

gtk-theme-name="Arc-Darker"
gtk-theme-name="Arc-Dark"
gtk-icon-theme-name="Papirus"
gtk-font-name="Clear Sans Medium, Medium 10"
gtk-cursor-theme-name="capitaine-cursors"
Expand Down
100 changes: 0 additions & 100 deletions airootfs/root/customize_airootfs.sh

This file was deleted.

Loading

0 comments on commit 3a57676

Please sign in to comment.