From 70f57857ad0629cf75c7885306a635448429ff2f Mon Sep 17 00:00:00 2001 From: "dedal.qq" Date: Sat, 27 Apr 2024 12:51:31 +0300 Subject: [PATCH] first commit --- Makefile | 64 +++++++++++++++++++++++++++++++++++++++++++++++++++++ README.md | 27 ++++++++++++++++++++++ pacman.conf | 60 +++++++++++++++++++++++++++++++++++++++++++++++++ vars | 10 +++++++++ 4 files changed, 161 insertions(+) create mode 100644 Makefile create mode 100644 README.md create mode 100644 pacman.conf create mode 100644 vars diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..e8c90f9 --- /dev/null +++ b/Makefile @@ -0,0 +1,64 @@ +include vars + +SHELL=/bin/bash + +ROOT_UUID=$(shell blkid -s UUID -o value $(ROOT-DEV)) +KERNEL_ARGS="rd.luks=0 rd.lvm=0 rd.md=0 rd.dm=0 rd.systemd.gpt_auto=no module_blacklist=tpm log_buf_len=4M amd_iommu=off amdgpu.gttsize=8128 spi_amd.speed_dev=1 fbcon=rotate:1 fbcon=vc:4-6" + +all: install configure user move-conn + +mount: + mount $(ROOT-DEV) $(MNT-PATH) + mkdir -p $(MNT-PATH)/boot + mount $(BOOT-DEV) $(MNT-PATH)/boot + +install: install-base install-jupiter + +install-base: + pacstrap -K -C ./pacman.conf $(MNT-PATH) core/base extra/networkmanager extra/zsh extra/gnome extra/gnome-extra + +install-jupiter: + pacstrap -K -C ./pacman.conf $(MNT-PATH) \ + jupiter-3.5/linux-neptune-61 \ + jupiter-3.5/linux-firmware-neptune \ + jupiter-3.5/jupiter-legacy-support \ + jupiter-3.5/jupiter-fan-control \ + jupiter-3.5/jupiter-hw-support \ + jupiter-3.5/steam-jupiter-stable \ + jupiter-3.5/bluez \ + jupiter-3.5/bluez-plugins \ + jupiter-3.5/bluez-utils \ + +configure: + genfstab -U $(MNT-PATH) >> $(MNT-PATH)/etc/fstab + echo steam-deck > $(MNT-PATH)/etc/hostname + arch-chroot $(MNT-PATH) systemctl enable NetworkManager sshd gdm + arch-chroot $(MNT-PATH) ln -sf /usr/share/zoneinfo/$(TIME-ZONE) /etc/localtime + arch-chroot $(MNT-PATH) hwclock --systohc + arch-chroot $(MNT-PATH) sed -i "s/#ru_RU.UTF-8 UTF-8/ru_RU.UTF-8 UTF-8/g" /etc/locale.gen + arch-chroot $(MNT-PATH) sed -i "s/#en_US.UTF-8 UTF-8/en_US.UTF-8 UTF-8/g" /etc/locale.gen + arch-chroot $(MNT-PATH) locale-gen + arch-chroot $(MNT-PATH) echo LANG=en_US.UTF-8 > /etc/locale.conf + +user: + arch-chroot $(MNT-PATH) /bin/bash -c "echo "root:$(ROOT-PASSWORD)" | chpasswd" + arch-chroot $(MNT-PATH) useradd --badname -m -s /bin/zsh $(USER-LOGIN) + arch-chroot $(MNT-PATH) /bin/bash -c "echo "$(USER-LOGIN):$(USER-PASSWORD)" | chpasswd" + +efiloader: + efibootmgr \ + --disk /dev/nvme0n1 \ + --part 9 \ + --create --label "Arch Linux qq 2" \ + --loader /vmlinuz-linux-neptune-61 \ + --unicode 'root=UUID=$(ROOT_UUID) rw initrd=\initramfs-linux-neptune-61.img $(KERNEL_ARGS)' \ + --verbose + +move-conn: + cp -r /etc/NetworkManager/system-connections/* $(MNT-PATH)/etc/NetworkManager/system-connections + +clear: + mkdir -p /tmp/pacman + rm -rf /tmp/pacman/* + rm -rf $(MNT-PATH)/"!(boot)" + rm -rf $(MNT-PATH)/boot/* \ No newline at end of file diff --git a/README.md b/README.md new file mode 100644 index 0000000..9694c4e --- /dev/null +++ b/README.md @@ -0,0 +1,27 @@ +https://www.reddit.com/r/SteamDeck/comments/yq26a5/vanilla_arch_jupiterholo_repos/ + +jupiter-staging gamescope + +jupiter-staging jupiter-dock-updater-bin +jupiter-staging jupiter-fan-control +jupiter-staging jupiter-hw-support +jupiter-staging jupiter-legacy-support + +jupiter-staging linux-firmware-neptune +jupiter-staging linux-neptune +jupiter-staging linux-neptune-headers +jupiter-staging gamescope +jupiter-staging mesa +jupiter-staging sddm-wayland +jupiter-staging xorg-xwayland-jupiter +jupiter-staging vpower +jupiter-staging wireplumber +jupiter-staging steam-jupiter-stable + +jupiter-staging bluez +jupiter-staging bluez-plugins +jupiter-staging bluez-utils +jupiter-staging mangohud +holo-staging noise-suppression-for-voice-git +holo-staging xone-dkms-git +holo-staging xow-git \ No newline at end of file diff --git a/pacman.conf b/pacman.conf new file mode 100644 index 0000000..728c90e --- /dev/null +++ b/pacman.conf @@ -0,0 +1,60 @@ +# +# /etc/pacman.conf +# +# See the pacman.conf(5) manpage for option and repository directives + +[options] +# The following paths are commented out with their default values listed. +# If you wish to use different paths, uncomment and update the paths. +#RootDir = / +#DBPath = /var/lib/pacman/ +#DBPath = /usr/lib/holo/pacmandb/ +#CacheDir = /var/cache/pacman/pkg/ +#LogFile = /var/log/pacman.log +#GPGDir = /etc/pacman.d/gnupg/ +#HookDir = /etc/pacman.d/hooks/ +HoldPkg = pacman glibc +#XferCommand = /usr/bin/curl -L -C - -f -o %o %u +#XferCommand = /usr/bin/wget --passive-ftp -c -O %o %u +#CleanMethod = KeepInstalled +Architecture = auto + +#UseSyslog +Color +#TotalDownload +CheckSpace +#VerbosePkgLists +ParallelDownloads = 10 + +SigLevel = Required DatabaseOptional +LocalFileSigLevel = Optional + +[core] +Server = http://mirror.yandex.ru/archlinux/$repo/os/$arch + +[extra] +Server = http://mirror.yandex.ru/archlinux/$repo/os/$arch + +[jupiter-3.5] +Server = https://steamdeck-packages.steamos.cloud/archlinux-mirror/$repo/os/$arch +SigLevel = Never + +[holo-3.5] +Server = https://steamdeck-packages.steamos.cloud/archlinux-mirror/$repo/os/$arch +SigLevel = Never + +[core-3.5] +Server = https://steamdeck-packages.steamos.cloud/archlinux-mirror/$repo/os/$arch +SigLevel = Never + +[extra-3.5] +Server = https://steamdeck-packages.steamos.cloud/archlinux-mirror/$repo/os/$arch +SigLevel = Never + +[community-3.5] +Server = https://steamdeck-packages.steamos.cloud/archlinux-mirror/$repo/os/$arch +SigLevel = Never + +[multilib-3.5] +Server = https://steamdeck-packages.steamos.cloud/archlinux-mirror/$repo/os/$arch +SigLevel = Never \ No newline at end of file diff --git a/vars b/vars new file mode 100644 index 0000000..3325aef --- /dev/null +++ b/vars @@ -0,0 +1,10 @@ +MNT-PATH=/mnt + +ROOT-DEV=/dev/nvme0n1p10 +BOOT-DEV=/dev/nvme0n1p9 + +TIME-ZONE=Europe/Moscow + +USER-LOGIN=dedal.qq +USER-PASSWORD=123123 +ROOT-PASSWORD=123123 \ No newline at end of file