This repository has been archived by the owner on Feb 12, 2024. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
0 parents
commit b04bccf
Showing
69 changed files
with
1,296 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
steamos |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
LANG=en_US.UTF-8 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
/usr/share/zoneinfo/UTC |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,67 @@ | ||
# vim:set ft=sh | ||
# MODULES | ||
# The following modules are loaded before any boot hooks are | ||
# run. Advanced users may wish to specify all system modules | ||
# in this array. For instance: | ||
# MODULES=(piix ide_disk reiserfs) | ||
MODULES=() | ||
|
||
# BINARIES | ||
# This setting includes any additional binaries a given user may | ||
# wish into the CPIO image. This is run last, so it may be used to | ||
# override the actual binaries included by a given hook | ||
# BINARIES are dependency parsed, so you may safely ignore libraries | ||
BINARIES=() | ||
|
||
# FILES | ||
# This setting is similar to BINARIES above, however, files are added | ||
# as-is and are not parsed in any way. This is useful for config files. | ||
FILES=() | ||
|
||
# HOOKS | ||
# This is the most important setting in this file. The HOOKS control the | ||
# modules and scripts added to the image, and what happens at boot time. | ||
# Order is important, and it is recommended that you do not change the | ||
# order in which HOOKS are added. Run 'mkinitcpio -H <hook name>' for | ||
# help on a given hook. | ||
# 'base' is _required_ unless you know precisely what you are doing. | ||
# 'udev' is _required_ in order to automatically load modules | ||
# 'filesystems' is _required_ unless you specify your fs modules in MODULES | ||
# Examples: | ||
## This setup specifies all modules in the MODULES setting above. | ||
## No raid, lvm2, or encrypted root is needed. | ||
# HOOKS=(base) | ||
# | ||
## This setup will autodetect all modules for your system and should | ||
## work as a sane default | ||
# HOOKS=(base udev autodetect block filesystems) | ||
# | ||
## This setup will generate a 'full' image which supports most systems. | ||
## No autodetection is done. | ||
# HOOKS=(base udev block filesystems) | ||
# | ||
## This setup assembles a pata mdadm array with an encrypted root FS. | ||
## Note: See 'mkinitcpio -H mdadm' for more information on raid devices. | ||
# HOOKS=(base udev block mdadm encrypt filesystems) | ||
# | ||
## This setup loads an lvm2 volume group on a usb device. | ||
# HOOKS=(base udev block lvm2 filesystems) | ||
# | ||
## NOTE: If you have /usr on a separate partition, you MUST include the | ||
# usr, fsck and shutdown hooks. | ||
HOOKS=(base udev modconf memdisk archiso archiso_loop_mnt archiso_pxe_common archiso_pxe_nbd archiso_pxe_http archiso_pxe_nfs archiso_kms block filesystems keyboard) | ||
|
||
# COMPRESSION | ||
# Use this to compress the initramfs image. By default, gzip compression | ||
# is used. Use 'cat' to create an uncompressed image. | ||
#COMPRESSION="gzip" | ||
#COMPRESSION="bzip2" | ||
#COMPRESSION="lzma" | ||
COMPRESSION="xz" | ||
#COMPRESSION="lzop" | ||
#COMPRESSION="lz4" | ||
#COMPRESSION="zstd" | ||
|
||
# COMPRESSION_OPTIONS | ||
# Additional options for the compressor | ||
#COMPRESSION_OPTIONS=() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
# mkinitcpio preset file for the 'linux' package on archiso | ||
|
||
PRESETS=('archiso') | ||
|
||
ALL_kver='/boot/vmlinuz-linux' | ||
ALL_config='/etc/mkinitcpio.conf' | ||
|
||
archiso_image="/boot/initramfs-linux.img" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
# The broadcom-wl package requires some modules to be disabled in order to use | ||
# wl. Since the ISO image needs to cover many hardware cases, this file | ||
# overrides the default blacklist in /usr/lib/modprobe.d/ | ||
# | ||
# If you need to use wl, you may need to delete this file, then `rmmod` any | ||
# already-loaded modules that are now blacklisted before proceeding to modprobe | ||
# wl itself. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
Welcome to [38;2;23;147;209mSteamOS 3![0m | ||
|
||
To install SteamOS 3 on your device, connect to network using RNDIS/Ethernet | ||
or connect to wifi using [38;2;23;147;209miwctl[0m | ||
then type [38;2;23;147;209mholoinstall[0m in! | ||
|
||
Alternatively, you can repair your current ArchLinux/SteamOS installation | ||
by chrooting into it using [38;2;23;147;209march-chroot[0m |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,103 @@ | ||
# | ||
# /etc/pacman.conf | ||
# | ||
# See the pacman.conf(5) manpage for option and repository directives | ||
|
||
# | ||
# GENERAL OPTIONS | ||
# | ||
[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/ | ||
#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 | ||
|
||
# Pacman won't upgrade packages listed in IgnorePkg and members of IgnoreGroup | ||
#IgnorePkg = | ||
#IgnoreGroup = | ||
|
||
#NoUpgrade = | ||
#NoExtract = | ||
|
||
# Misc options | ||
#UseSyslog | ||
#Color | ||
#TotalDownload | ||
# We cannot check disk space from within a chroot environment | ||
CheckSpace | ||
#VerbosePkgLists | ||
ParallelDownloads = 5 | ||
|
||
# By default, pacman accepts packages signed by keys that its local keyring | ||
# trusts (see pacman-key and its man page), as well as unsigned packages. | ||
SigLevel = Required DatabaseOptional | ||
LocalFileSigLevel = Optional | ||
#RemoteFileSigLevel = Required | ||
|
||
# NOTE: You must run `pacman-key --init` before first using pacman; the local | ||
# keyring can then be populated with the keys of all official Arch Linux | ||
# packagers with `pacman-key --populate archlinux`. | ||
|
||
# | ||
# REPOSITORIES | ||
# - can be defined here or included from another file | ||
# - pacman will search repositories in the order defined here | ||
# - local/custom mirrors can be added here or in separate files | ||
# - repositories listed first will take precedence when packages | ||
# have identical names, regardless of version number | ||
# - URLs will have $repo replaced by the name of the current repo | ||
# - URLs will have $arch replaced by the name of the architecture | ||
# | ||
# Repository entries are of the format: | ||
# [repo-name] | ||
# Server = ServerName | ||
# Include = IncludePath | ||
# | ||
# The header [repo-name] is crucial - it must be present and | ||
# uncommented to enable the repo. | ||
# | ||
|
||
# The testing repositories are disabled by default. To enable, uncomment the | ||
# repo name header and Include lines. You can add preferred servers immediately | ||
# after the header, and they will be used before the default mirrors. | ||
|
||
#[testing] | ||
#Include = /etc/pacman.d/mirrorlist | ||
|
||
[jupiter] | ||
Include = /etc/pacman.d/mirrorlist | ||
SigLevel = Never | ||
|
||
[holo] | ||
Include = /etc/pacman.d/mirrorlist | ||
SigLevel = Never | ||
|
||
[core] | ||
Include = /etc/pacman.d/mirrorlist | ||
|
||
[extra] | ||
Include = /etc/pacman.d/mirrorlist | ||
|
||
#[community-testing] | ||
#Include = /etc/pacman.d/mirrorlist | ||
|
||
[community] | ||
Include = /etc/pacman.d/mirrorlist | ||
|
||
[multilib] | ||
Include = /etc/pacman.d/mirrorlist | ||
|
||
# An example of a custom package repository. See the pacman manpage for | ||
# tips on creating your own repositories. | ||
#[custom] | ||
#SigLevel = Optional TrustAll | ||
#Server = file:///home/custompkgs |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
# remove from airootfs! | ||
[Trigger] | ||
Operation = Install | ||
Type = Package | ||
Target = glibc | ||
|
||
[Action] | ||
Description = Uncommenting en_US.UTF-8 locale and running locale-gen... | ||
When = PostTransaction | ||
Depends = glibc | ||
Depends = sed | ||
Depends = sh | ||
Exec = /bin/sh -c "sed -i 's/#\(en_US\.UTF-8\)/\1/' /etc/locale.gen && locale-gen" |
18 changes: 18 additions & 0 deletions
18
airootfs/etc/pacman.d/hooks/zzzz99-remove-custom-hooks-from-airootfs.hook
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
# remove from airootfs! | ||
# As a workaround for https://bugs.archlinux.org/task/49347 , remove pacman hooks specific to the ISO build process. | ||
# If not, they would be used when pacstrap is run in the live environment. | ||
|
||
[Trigger] | ||
Operation = Install | ||
Operation = Upgrade | ||
Operation = Remove | ||
Type = Package | ||
Target = * | ||
|
||
[Action] | ||
Description = Work around FS#49347 by removing custom pacman hooks that are only required during ISO build... | ||
When = PostTransaction | ||
Depends = sh | ||
Depends = coreutils | ||
Depends = grep | ||
Exec = /bin/sh -c "rm -- $(grep -Frl 'remove from airootfs' /etc/pacman.d/hooks/)" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
Server = https://steamdeck-packages.steamos.cloud/archlinux-mirror/$repo/os/$arch |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
root:x:0:0:root:/root:/usr/bin/zsh |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
/run/systemd/resolve/stub-resolv.conf |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
root::14871:::::: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,116 @@ | ||
# $OpenBSD: sshd_config,v 1.104 2021/07/02 05:11:21 dtucker Exp $ | ||
|
||
# This is the sshd server system-wide configuration file. See | ||
# sshd_config(5) for more information. | ||
|
||
# This sshd was compiled with PATH=/usr/local/sbin:/usr/local/bin:/usr/bin | ||
|
||
# The strategy used for options in the default sshd_config shipped with | ||
# OpenSSH is to specify options with their default value where | ||
# possible, but leave them commented. Uncommented options override the | ||
# default value. | ||
|
||
#Port 22 | ||
#AddressFamily any | ||
#ListenAddress 0.0.0.0 | ||
#ListenAddress :: | ||
|
||
#HostKey /etc/ssh/ssh_host_rsa_key | ||
#HostKey /etc/ssh/ssh_host_ecdsa_key | ||
#HostKey /etc/ssh/ssh_host_ed25519_key | ||
|
||
# Ciphers and keying | ||
#RekeyLimit default none | ||
|
||
# Logging | ||
#SyslogFacility AUTH | ||
#LogLevel INFO | ||
|
||
# Authentication: | ||
|
||
#LoginGraceTime 2m | ||
PermitRootLogin yes | ||
#StrictModes yes | ||
#MaxAuthTries 6 | ||
#MaxSessions 10 | ||
|
||
#PubkeyAuthentication yes | ||
|
||
# The default is to check both .ssh/authorized_keys and .ssh/authorized_keys2 | ||
# but this is overridden so installations will only check .ssh/authorized_keys | ||
AuthorizedKeysFile .ssh/authorized_keys | ||
|
||
#AuthorizedPrincipalsFile none | ||
|
||
#AuthorizedKeysCommand none | ||
#AuthorizedKeysCommandUser nobody | ||
|
||
# For this to work you will also need host keys in /etc/ssh/ssh_known_hosts | ||
#HostbasedAuthentication no | ||
# Change to yes if you don't trust ~/.ssh/known_hosts for | ||
# HostbasedAuthentication | ||
#IgnoreUserKnownHosts no | ||
# Don't read the user's ~/.rhosts and ~/.shosts files | ||
#IgnoreRhosts yes | ||
|
||
# To disable tunneled clear text passwords, change to no here! | ||
#PasswordAuthentication yes | ||
#PermitEmptyPasswords no | ||
|
||
# Change to no to disable s/key passwords | ||
#KbdInteractiveAuthentication yes | ||
|
||
# Kerberos options | ||
#KerberosAuthentication no | ||
#KerberosOrLocalPasswd yes | ||
#KerberosTicketCleanup yes | ||
#KerberosGetAFSToken no | ||
|
||
# GSSAPI options | ||
#GSSAPIAuthentication no | ||
#GSSAPICleanupCredentials yes | ||
|
||
# Set this to 'yes' to enable PAM authentication, account processing, | ||
# and session processing. If this is enabled, PAM authentication will | ||
# be allowed through the KbdInteractiveAuthentication and | ||
# PasswordAuthentication. Depending on your PAM configuration, | ||
# PAM authentication via KbdInteractiveAuthentication may bypass | ||
# the setting of "PermitRootLogin without-password". | ||
# If you just want the PAM account and session checks to run without | ||
# PAM authentication, then enable this but set PasswordAuthentication | ||
# and KbdInteractiveAuthentication to 'no'. | ||
UsePAM yes | ||
|
||
#AllowAgentForwarding yes | ||
#AllowTcpForwarding yes | ||
#GatewayPorts no | ||
#X11Forwarding no | ||
#X11DisplayOffset 10 | ||
#X11UseLocalhost yes | ||
#PermitTTY yes | ||
PrintMotd no # pam does that | ||
#PrintLastLog yes | ||
#TCPKeepAlive yes | ||
#PermitUserEnvironment no | ||
#Compression delayed | ||
#ClientAliveInterval 0 | ||
#ClientAliveCountMax 3 | ||
#UseDNS no | ||
#PidFile /run/sshd.pid | ||
#MaxStartups 10:30:100 | ||
#PermitTunnel no | ||
#ChrootDirectory none | ||
#VersionAddendum none | ||
|
||
# no default banner path | ||
#Banner none | ||
|
||
# override default of no subsystems | ||
Subsystem sftp /usr/lib/ssh/sftp-server | ||
|
||
# Example of overriding settings on a per-user basis | ||
#Match User anoncvs | ||
# X11Forwarding no | ||
# AllowTcpForwarding no | ||
# PermitTTY no | ||
# ForceCommand cvs server |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
[Journal] | ||
Storage=volatile |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
[Login] | ||
HandleSuspendKey=ignore | ||
HandleHibernateKey=ignore | ||
HandleLidSwitch=ignore |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
[Match] | ||
Name=en* | ||
Name=eth* | ||
|
||
[Network] | ||
DHCP=yes | ||
IPv6PrivacyExtensions=yes | ||
|
||
# systemd-networkd does not set per-interface-type default route metrics | ||
# https://github.com/systemd/systemd/issues/17698 | ||
# Explicitly set route metric, so that Ethernet is preferred over Wi-Fi and Wi-Fi is preferred over mobile broadband. | ||
# Use values from NetworkManager. From nm_device_get_route_metric_default in | ||
# https://gitlab.freedesktop.org/NetworkManager/NetworkManager/-/blob/main/src/core/devices/nm-device.c | ||
[DHCPv4] | ||
RouteMetric=100 | ||
|
||
[IPv6AcceptRA] | ||
RouteMetric=100 |
Oops, something went wrong.