install script fix
This commit is contained in:
parent
2e2da87bea
commit
19bb3bd82f
99
airootfs/etc/skel/.bashrc
Normal file
99
airootfs/etc/skel/.bashrc
Normal file
@ -0,0 +1,99 @@
|
|||||||
|
# /etc/bash.bashrc
|
||||||
|
#
|
||||||
|
# https://wiki.archlinux.org/index.php/Color_Bash_Prompt
|
||||||
|
#
|
||||||
|
# This file is sourced by all *interactive* bash shells on startup,
|
||||||
|
# including some apparently interactive shells such as scp and rcp
|
||||||
|
# that can't tolerate any output. So make sure this doesn't display
|
||||||
|
# anything or bad things will happen !
|
||||||
|
|
||||||
|
EDITOR=nano; export EDITOR
|
||||||
|
|
||||||
|
# Test for an interactive shell. There is no need to set anything
|
||||||
|
# past this point for scp and rcp, and it's important to refrain from
|
||||||
|
# outputting anything in those cases.
|
||||||
|
|
||||||
|
# If not running interactively, don't do anything!
|
||||||
|
[[ $- != *i* ]] && return
|
||||||
|
|
||||||
|
# Bash won't get SIGWINCH if another process is in the foreground.
|
||||||
|
# Enable checkwinsize so that bash will check the terminal size when
|
||||||
|
# it regains control.
|
||||||
|
# http://cnswww.cns.cwru.edu/~chet/bash/FAQ (E11)
|
||||||
|
shopt -s checkwinsize
|
||||||
|
|
||||||
|
# Enable history appending instead of overwriting.
|
||||||
|
shopt -s histappend
|
||||||
|
|
||||||
|
case ${TERM} in
|
||||||
|
xterm*|rxvt*|Eterm|aterm|kterm|gnome*)
|
||||||
|
PROMPT_COMMAND=${PROMPT_COMMAND:+$PROMPT_COMMAND; }'printf "\033]0;%s@%s:%s\007" "${USER}" "${HOSTNAME%%.*}" "${PWD/#$HOME/\~}"'
|
||||||
|
|
||||||
|
;;
|
||||||
|
screen*)
|
||||||
|
PROMPT_COMMAND=${PROMPT_COMMAND:+$PROMPT_COMMAND; }'printf "\033_%s@%s:%s\033\\" "${USER}" "${HOSTNAME%%.*}" "${PWD/#$HOME/\~}"'
|
||||||
|
;;
|
||||||
|
esac
|
||||||
|
|
||||||
|
|
||||||
|
# fortune is a simple program that displays a pseudorandom message
|
||||||
|
# from a database of quotations at logon and/or logout.
|
||||||
|
# If you wish to use it, please install "fortune-mod" from the
|
||||||
|
# official repositories, then uncomment the following line:
|
||||||
|
|
||||||
|
#[[ "$PS1" ]] && /usr/bin/fortune
|
||||||
|
|
||||||
|
# Set colorful PS1 only on colorful terminals.
|
||||||
|
# dircolors --print-database uses its own built-in database
|
||||||
|
# instead of using /etc/DIR_COLORS. Try to use the external file
|
||||||
|
# first to take advantage of user additions. Use internal bash
|
||||||
|
# globbing instead of external grep binary.
|
||||||
|
|
||||||
|
# sanitize TERM:
|
||||||
|
safe_term=${TERM//[^[:alnum:]]/?}
|
||||||
|
match_lhs=""
|
||||||
|
|
||||||
|
[[ -f ~/.dir_colors ]] && match_lhs="${match_lhs}$(<~/.dir_colors)"
|
||||||
|
[[ -f /etc/DIR_COLORS ]] && match_lhs="${match_lhs}$(</etc/DIR_COLORS)"
|
||||||
|
[[ -z ${match_lhs} ]] \
|
||||||
|
&& type -P dircolors >/dev/null \
|
||||||
|
&& match_lhs=$(dircolors --print-database)
|
||||||
|
|
||||||
|
|
||||||
|
# we have colors :-)
|
||||||
|
|
||||||
|
# Enable colors for ls, etc. Prefer ~/.dir_colors
|
||||||
|
if type -P dircolors >/dev/null ; then
|
||||||
|
if [[ -f ~/.dir_colors ]] ; then
|
||||||
|
eval $(dircolors -b ~/.dir_colors)
|
||||||
|
elif [[ -f /etc/DIR_COLORS ]] ; then
|
||||||
|
eval $(dircolors -b /etc/DIR_COLORS)
|
||||||
|
fi
|
||||||
|
fi
|
||||||
|
|
||||||
|
#PS1="$(if [[ ${EUID} == 0 ]]; then echo '\[\033[01;31m\]\h'; else echo '\[\033[01;32m\]\u@\h'; fi)\[\033[01;34m\] \w \$([[ \$? != 0 ]] && echo \"\[\033[01;31m\]:(\[\033[01;34m\] \")\\$\[\033[00m\] "
|
||||||
|
PS1="\[\e[0;37m\][ \[\e[0;32m\]\u\[\e[0;37m\]@\[\e[0;31m\]\h \[\e[0;36m\]\W \[\e[0;37m\]] \[\e[0;37m\]$ \[\e[0m\]"
|
||||||
|
|
||||||
|
# Use this other PS1 string if you want \W for root and \w for all other users:
|
||||||
|
# PS1="$(if [[ ${EUID} == 0 ]]; then echo '\[\033[01;31m\]\h\[\033[01;34m\] \W'; else echo '\[\033[01;32m\]\u@\h\[\033[01;34m\] \w'; fi) \$([[ \$? != 0 ]] && echo \"\[\033[01;31m\]:(\[\033[01;34m\] \")\\$\[\033[00m\] "
|
||||||
|
|
||||||
|
alias ls="ls --color=auto"
|
||||||
|
alias dir="dir --color=auto"
|
||||||
|
alias grep="grep --color=auto"
|
||||||
|
alias dmesg='dmesg --color'
|
||||||
|
alias ip='ip -color=auto'
|
||||||
|
alias diff='diff --color=auto'
|
||||||
|
|
||||||
|
PS2="> "
|
||||||
|
PS3="> "
|
||||||
|
PS4="+ "
|
||||||
|
|
||||||
|
# Try to keep environment pollution down, EPA loves us :-)
|
||||||
|
unset safe_term match_lhs
|
||||||
|
|
||||||
|
# Try to enable the auto-completion (type: "pacman -S bash-completion" to install it).
|
||||||
|
[ -r /usr/share/bash-completion/bash_completion ] && . /usr/share/bash-completion/bash_completion
|
||||||
|
|
||||||
|
# Try to enable the "Command not found" hook ("pacman -S pkgfile" to install it).
|
||||||
|
# See also: https://wiki.archlinux.org/index.php/Bash#The_.22command_not_found.22_hook
|
||||||
|
[ -r /usr/share/doc/pkgfile/command-not-found.bash ] && . /usr/share/doc/pkgfile/command-not-found.bash
|
97
airootfs/etc/sudoers
Normal file
97
airootfs/etc/sudoers
Normal file
@ -0,0 +1,97 @@
|
|||||||
|
## sudoers file.
|
||||||
|
##
|
||||||
|
## This file MUST be edited with the 'visudo' command as root.
|
||||||
|
## Failure to use 'visudo' may result in syntax or file permission errors
|
||||||
|
## that prevent sudo from running.
|
||||||
|
##
|
||||||
|
## See the sudoers man page for the details on how to write a sudoers file.
|
||||||
|
##
|
||||||
|
|
||||||
|
##
|
||||||
|
## Host alias specification
|
||||||
|
##
|
||||||
|
## Groups of machines. These may include host names (optionally with wildcards),
|
||||||
|
## IP addresses, network numbers or netgroups.
|
||||||
|
# Host_Alias WEBSERVERS = www1, www2, www3
|
||||||
|
|
||||||
|
##
|
||||||
|
## User alias specification
|
||||||
|
##
|
||||||
|
## Groups of users. These may consist of user names, uids, Unix groups,
|
||||||
|
## or netgroups.
|
||||||
|
# User_Alias ADMINS = millert, dowdy, mikef
|
||||||
|
|
||||||
|
##
|
||||||
|
## Cmnd alias specification
|
||||||
|
##
|
||||||
|
## Groups of commands. Often used to group related commands together.
|
||||||
|
# Cmnd_Alias PROCESSES = /usr/bin/nice, /bin/kill, /usr/bin/renice, \
|
||||||
|
# /usr/bin/pkill, /usr/bin/top
|
||||||
|
# Cmnd_Alias REBOOT = /sbin/halt, /sbin/reboot, /sbin/poweroff
|
||||||
|
|
||||||
|
##
|
||||||
|
## Defaults specification
|
||||||
|
##
|
||||||
|
## You may wish to keep some of the following environment variables
|
||||||
|
## when running commands via sudo.
|
||||||
|
##
|
||||||
|
## Locale settings
|
||||||
|
# Defaults env_keep += "LANG LANGUAGE LINGUAS LC_* _XKB_CHARSET"
|
||||||
|
##
|
||||||
|
## Run X applications through sudo; HOME is used to find the
|
||||||
|
## .Xauthority file. Note that other programs use HOME to find
|
||||||
|
## configuration files and this may lead to privilege escalation!
|
||||||
|
# Defaults env_keep += "HOME"
|
||||||
|
##
|
||||||
|
## X11 resource path settings
|
||||||
|
# Defaults env_keep += "XAPPLRESDIR XFILESEARCHPATH XUSERFILESEARCHPATH"
|
||||||
|
##
|
||||||
|
## Desktop path settings
|
||||||
|
# Defaults env_keep += "QTDIR KDEDIR"
|
||||||
|
##
|
||||||
|
## Allow sudo-run commands to inherit the callers' ConsoleKit session
|
||||||
|
# Defaults env_keep += "XDG_SESSION_COOKIE"
|
||||||
|
##
|
||||||
|
## Uncomment to enable special input methods. Care should be taken as
|
||||||
|
## this may allow users to subvert the command being run via sudo.
|
||||||
|
# Defaults env_keep += "XMODIFIERS GTK_IM_MODULE QT_IM_MODULE QT_IM_SWITCHER"
|
||||||
|
##
|
||||||
|
## Uncomment to use a hard-coded PATH instead of the user's to find commands
|
||||||
|
# Defaults secure_path="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"
|
||||||
|
##
|
||||||
|
## Uncomment to send mail if the user does not enter the correct password.
|
||||||
|
# Defaults mail_badpass
|
||||||
|
##
|
||||||
|
## Uncomment to enable logging of a command's output, except for
|
||||||
|
## sudoreplay and reboot. Use sudoreplay to play back logged sessions.
|
||||||
|
# Defaults log_output
|
||||||
|
# Defaults!/usr/bin/sudoreplay !log_output
|
||||||
|
# Defaults!/usr/local/bin/sudoreplay !log_output
|
||||||
|
# Defaults!REBOOT !log_output
|
||||||
|
|
||||||
|
##
|
||||||
|
## Runas alias specification
|
||||||
|
##
|
||||||
|
|
||||||
|
##
|
||||||
|
## User privilege specification
|
||||||
|
##
|
||||||
|
root ALL=(ALL) ALL
|
||||||
|
|
||||||
|
## Uncomment to allow members of group wheel to execute any command
|
||||||
|
# %wheel ALL=(ALL) ALL
|
||||||
|
|
||||||
|
## Same thing without a password
|
||||||
|
# %wheel ALL=(ALL) NOPASSWD: ALL
|
||||||
|
|
||||||
|
## Uncomment to allow members of group sudo to execute any command
|
||||||
|
%sudo ALL=(ALL) ALL
|
||||||
|
|
||||||
|
## Uncomment to allow any user to run sudo if they know the password
|
||||||
|
## of the user they are running the command as (root by default).
|
||||||
|
# Defaults targetpw # Ask for the password of the target user
|
||||||
|
# ALL ALL=(ALL) ALL # WARNING: only use this together with 'Defaults targetpw'
|
||||||
|
|
||||||
|
## Read drop-in files from /etc/sudoers.d
|
||||||
|
## (the '#' here does not indicate a comment)
|
||||||
|
#includedir /etc/sudoers.d
|
@ -77,6 +77,8 @@ cp -r /to_install/* /mnt/
|
|||||||
#remove autologin
|
#remove autologin
|
||||||
rm -rf /mnt/etc/systemd/system/getty@tty1.service.d/
|
rm -rf /mnt/etc/systemd/system/getty@tty1.service.d/
|
||||||
|
|
||||||
|
rm -f /mnt/do_not_edit
|
||||||
|
|
||||||
genfstab -U /mnt >> /mnt/etc/fstab
|
genfstab -U /mnt >> /mnt/etc/fstab
|
||||||
|
|
||||||
##
|
##
|
||||||
@ -110,8 +112,8 @@ sed -r '/^#/d' /packages.x86_64 | pacman --noconfirm -S -
|
|||||||
rm -f /packages.x86_64
|
rm -f /packages.x86_64
|
||||||
|
|
||||||
#user create
|
#user create
|
||||||
|
groupadd sudo
|
||||||
useradd -m -G sudo "$username"
|
useradd -m -G sudo "$username"
|
||||||
cp -r /etc/skel/* "/home/$username"
|
|
||||||
|
|
||||||
echo "$username:$userpass" | chpasswd
|
echo "$username:$userpass" | chpasswd
|
||||||
echo "root:$rootpass" | chpasswd
|
echo "root:$rootpass" | chpasswd
|
||||||
|
@ -1 +0,0 @@
|
|||||||
saturnarch
|
|
@ -1,70 +0,0 @@
|
|||||||
#
|
|
||||||
# SPDX-License-Identifier: GPL-3.0-or-later
|
|
||||||
|
|
||||||
# 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 archiso block filesystems)
|
|
||||||
|
|
||||||
# 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=()
|
|
@ -1,11 +0,0 @@
|
|||||||
#
|
|
||||||
# SPDX-License-Identifier: GPL-3.0-or-later
|
|
||||||
|
|
||||||
# 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"
|
|
@ -1 +0,0 @@
|
|||||||
root::14871::::::
|
|
@ -1,34 +1,36 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
|
||||||
<channel name="xfce4-desktop" version="1.0">
|
<channel name="xfce4-desktop" version="1.0">
|
||||||
<property name="backdrop" type="empty">
|
<property name="backdrop" type="empty">
|
||||||
<property name="screen0" type="empty">
|
<property name="screen0" type="empty">
|
||||||
|
<property name="monitor0" type="empty">
|
||||||
|
<property name="workspace0" type="empty">
|
||||||
|
<property name="color-style" type="int" value="0"/>
|
||||||
|
<property name="image-style" type="int" value="5"/>
|
||||||
|
<property name="last-image" type="string" value="/usr/backgrounds/hubble-telescope.jpg"/>
|
||||||
|
</property>
|
||||||
|
</property>
|
||||||
|
<property name="monitoreDP1" type="empty">
|
||||||
|
<property name="workspace0" type="empty">
|
||||||
|
<property name="color-style" type="int" value="0"/>
|
||||||
|
<property name="image-style" type="int" value="5"/>
|
||||||
|
<property name="last-image" type="string" value="/usr/backgrounds/hubble-telescope.jpg"/>
|
||||||
|
</property>
|
||||||
|
</property>
|
||||||
<property name="monitorVirtual-1" type="empty">
|
<property name="monitorVirtual-1" type="empty">
|
||||||
<property name="workspace0" type="empty">
|
<property name="workspace0" type="empty">
|
||||||
<property name="color-style" type="int" value="0"/>
|
<property name="color-style" type="int" value="0"/>
|
||||||
<property name="image-style" type="int" value="5"/>
|
<property name="image-style" type="int" value="5"/>
|
||||||
<property name="last-image" type="string" value="/usr/backgrounds/hubble-telescope.jpg"/>
|
<property name="last-image" type="string" value="/usr/backgrounds/hubble-telescope.jpg"/>
|
||||||
</property>
|
</property>
|
||||||
<property name="workspace1" type="empty">
|
|
||||||
<property name="color-style" type="int" value="0"/>
|
|
||||||
<property name="image-style" type="int" value="5"/>
|
|
||||||
<property name="last-image" type="string" value="/usr/share/backgrounds/xfce/xfce-verticals.png"/>
|
|
||||||
</property>
|
|
||||||
<property name="workspace2" type="empty">
|
|
||||||
<property name="color-style" type="int" value="0"/>
|
|
||||||
<property name="image-style" type="int" value="5"/>
|
|
||||||
<property name="last-image" type="string" value="/usr/share/backgrounds/xfce/xfce-verticals.png"/>
|
|
||||||
</property>
|
|
||||||
<property name="workspace3" type="empty">
|
|
||||||
<property name="color-style" type="int" value="0"/>
|
|
||||||
<property name="image-style" type="int" value="5"/>
|
|
||||||
<property name="last-image" type="string" value="/usr/share/backgrounds/xfce/xfce-verticals.png"/>
|
|
||||||
</property>
|
|
||||||
</property>
|
</property>
|
||||||
</property>
|
</property>
|
||||||
</property>
|
</property>
|
||||||
<property name="last" type="empty">
|
<property name="desktop-icons" type="empty">
|
||||||
<property name="window-width" type="int" value="716"/>
|
<property name="file-icons" type="empty">
|
||||||
<property name="window-height" type="int" value="511"/>
|
<property name="show-home" type="bool" value="false"/>
|
||||||
|
<property name="show-filesystem" type="bool" value="false"/>
|
||||||
|
<property name="show-trash" type="bool" value="false"/>
|
||||||
|
<property name="show-removable" type="bool" value="false"/>
|
||||||
|
</property>
|
||||||
</property>
|
</property>
|
||||||
</channel>
|
</channel>
|
||||||
|
@ -18,6 +18,7 @@
|
|||||||
<value type="int" value="3"/>
|
<value type="int" value="3"/>
|
||||||
<value type="int" value="4"/>
|
<value type="int" value="4"/>
|
||||||
<value type="int" value="5"/>
|
<value type="int" value="5"/>
|
||||||
|
<value type="int" value="7"/>
|
||||||
<value type="int" value="6"/>
|
<value type="int" value="6"/>
|
||||||
<value type="int" value="9"/>
|
<value type="int" value="9"/>
|
||||||
<value type="int" value="11"/>
|
<value type="int" value="11"/>
|
||||||
@ -60,7 +61,9 @@
|
|||||||
</property>
|
</property>
|
||||||
</property>
|
</property>
|
||||||
<property name="plugins" type="empty">
|
<property name="plugins" type="empty">
|
||||||
<property name="plugin-1" type="string" value="applicationsmenu"/>
|
<property name="plugin-1" type="string" value="applicationsmenu">
|
||||||
|
<property name="button-icon" type="string" value="/usr/share/pixmaps/archlinux-logo.svg"/>
|
||||||
|
</property>
|
||||||
<property name="plugin-2" type="string" value="tasklist">
|
<property name="plugin-2" type="string" value="tasklist">
|
||||||
<property name="grouping" type="uint" value="1"/>
|
<property name="grouping" type="uint" value="1"/>
|
||||||
</property>
|
</property>
|
||||||
@ -74,6 +77,9 @@
|
|||||||
</property>
|
</property>
|
||||||
<property name="plugin-6" type="string" value="systray">
|
<property name="plugin-6" type="string" value="systray">
|
||||||
<property name="square-icons" type="bool" value="true"/>
|
<property name="square-icons" type="bool" value="true"/>
|
||||||
|
<property name="known-legacy-items" type="array">
|
||||||
|
<value type="string" value="networkmanager applet"/>
|
||||||
|
</property>
|
||||||
</property>
|
</property>
|
||||||
<property name="plugin-8" type="string" value="pulseaudio">
|
<property name="plugin-8" type="string" value="pulseaudio">
|
||||||
<property name="enable-keyboard-shortcuts" type="bool" value="true"/>
|
<property name="enable-keyboard-shortcuts" type="bool" value="true"/>
|
||||||
@ -115,5 +121,8 @@
|
|||||||
<property name="plugin-22" type="string" value="directorymenu">
|
<property name="plugin-22" type="string" value="directorymenu">
|
||||||
<property name="base-directory" type="string" value="/root"/>
|
<property name="base-directory" type="string" value="/root"/>
|
||||||
</property>
|
</property>
|
||||||
|
<property name="plugin-7" type="string" value="pulseaudio">
|
||||||
|
<property name="enable-keyboard-shortcuts" type="bool" value="true"/>
|
||||||
|
</property>
|
||||||
</property>
|
</property>
|
||||||
</channel>
|
</channel>
|
||||||
|
@ -73,7 +73,7 @@
|
|||||||
<property name="unredirect_overlays" type="bool" value="true"/>
|
<property name="unredirect_overlays" type="bool" value="true"/>
|
||||||
<property name="urgent_blink" type="bool" value="false"/>
|
<property name="urgent_blink" type="bool" value="false"/>
|
||||||
<property name="use_compositing" type="bool" value="true"/>
|
<property name="use_compositing" type="bool" value="true"/>
|
||||||
<property name="workspace_count" type="int" value="4"/>
|
<property name="workspace_count" type="int" value="1"/>
|
||||||
<property name="wrap_cycle" type="bool" value="true"/>
|
<property name="wrap_cycle" type="bool" value="true"/>
|
||||||
<property name="wrap_layout" type="bool" value="true"/>
|
<property name="wrap_layout" type="bool" value="true"/>
|
||||||
<property name="wrap_resistance" type="int" value="10"/>
|
<property name="wrap_resistance" type="int" value="10"/>
|
||||||
|
@ -1,116 +0,0 @@
|
|||||||
# $OpenBSD: sshd_config,v 1.103 2018/04/09 20:41:22 tj 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
|
|
||||||
ChallengeResponseAuthentication no
|
|
||||||
|
|
||||||
# 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 ChallengeResponseAuthentication and
|
|
||||||
# PasswordAuthentication. Depending on your PAM configuration,
|
|
||||||
# PAM authentication via ChallengeResponseAuthentication 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 ChallengeResponseAuthentication 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
|
|
@ -1,13 +0,0 @@
|
|||||||
#
|
|
||||||
# SPDX-License-Identifier: GPL-3.0-or-later
|
|
||||||
|
|
||||||
[Match]
|
|
||||||
Name=en*
|
|
||||||
Name=eth*
|
|
||||||
|
|
||||||
[Network]
|
|
||||||
DHCP=yes
|
|
||||||
IPv6PrivacyExtensions=yes
|
|
||||||
|
|
||||||
[DHCP]
|
|
||||||
RouteMetric=512
|
|
@ -1 +0,0 @@
|
|||||||
/usr/lib/systemd/system/cloud-config.service
|
|
@ -1 +0,0 @@
|
|||||||
/usr/lib/systemd/system/cloud-final.service
|
|
@ -1 +0,0 @@
|
|||||||
/usr/lib/systemd/system/cloud-init-local.service
|
|
@ -1 +0,0 @@
|
|||||||
/usr/lib/systemd/system/cloud-init.service
|
|
@ -1 +0,0 @@
|
|||||||
/usr/lib/systemd/system/NetworkManager-dispatcher.service
|
|
@ -1,3 +0,0 @@
|
|||||||
[Service]
|
|
||||||
ExecStart=
|
|
||||||
ExecStart=-/usr/bin/agetty --autologin root --noclear %I $TERM
|
|
@ -1 +0,0 @@
|
|||||||
/usr/lib/systemd/system/NetworkManager.service
|
|
@ -1 +0,0 @@
|
|||||||
/usr/lib/systemd/system/sshd.service
|
|
@ -1 +0,0 @@
|
|||||||
/usr/lib/systemd/system/systemd-networkd.service
|
|
@ -1 +0,0 @@
|
|||||||
/usr/lib/systemd/system/systemd-resolved.service
|
|
@ -1 +0,0 @@
|
|||||||
/usr/lib/systemd/system/NetworkManager-wait-online.service
|
|
@ -1 +0,0 @@
|
|||||||
/usr/lib/systemd/system/systemd-networkd-wait-online.service
|
|
@ -1 +0,0 @@
|
|||||||
/usr/lib/systemd/system/systemd-networkd.socket
|
|
@ -1,5 +0,0 @@
|
|||||||
#
|
|
||||||
# SPDX-License-Identifier: GPL-3.0-or-later
|
|
||||||
|
|
||||||
[Service]
|
|
||||||
ExecStart=/usr/lib/systemd/systemd-networkd-wait-online --any
|
|
@ -34,13 +34,11 @@ ipw2200-fw
|
|||||||
irssi
|
irssi
|
||||||
iwd
|
iwd
|
||||||
jfsutils
|
jfsutils
|
||||||
lftp
|
|
||||||
linux
|
linux
|
||||||
linux-atm
|
linux-atm
|
||||||
linux-firmware
|
linux-firmware
|
||||||
lsscsi
|
lsscsi
|
||||||
lvm2
|
lvm2
|
||||||
lynx
|
|
||||||
man-db
|
man-db
|
||||||
man-pages
|
man-pages
|
||||||
mdadm
|
mdadm
|
||||||
@ -165,6 +163,7 @@ sudo
|
|||||||
git
|
git
|
||||||
autoconf
|
autoconf
|
||||||
automake
|
automake
|
||||||
|
make
|
||||||
binutils
|
binutils
|
||||||
ffmpeg
|
ffmpeg
|
||||||
ffmpegthumbnailer
|
ffmpegthumbnailer
|
||||||
@ -175,13 +174,11 @@ htop
|
|||||||
imagemagick
|
imagemagick
|
||||||
p7zip
|
p7zip
|
||||||
patch
|
patch
|
||||||
pcmanfm
|
|
||||||
pkg-config
|
pkg-config
|
||||||
scrot
|
scrot
|
||||||
ttf-dejavu
|
ttf-dejavu
|
||||||
unrar
|
unrar
|
||||||
unzip
|
unzip
|
||||||
vim
|
|
||||||
nano
|
nano
|
||||||
wget
|
wget
|
||||||
xarchiver
|
xarchiver
|
||||||
|
13
airootfs/usr/local/bin/emuhere
Executable file
13
airootfs/usr/local/bin/emuhere
Executable file
@ -0,0 +1,13 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
if [ -z "$1" ]
|
||||||
|
then
|
||||||
|
echo
|
||||||
|
echo "No Docker Image supplied. Using archlinux"
|
||||||
|
echo
|
||||||
|
image='archlinux'
|
||||||
|
else
|
||||||
|
image=$1
|
||||||
|
fi
|
||||||
|
|
||||||
|
docker run -it -v "$(pwd):/mnt" -w '/mnt' $image
|
@ -14,5 +14,6 @@ airootfs_image_tool_options=('-comp' 'xz' '-Xbcj' 'x86' '-b' '1M' '-Xdict-size'
|
|||||||
file_permissions=(
|
file_permissions=(
|
||||||
["/etc/shadow"]="0:0:400"
|
["/etc/shadow"]="0:0:400"
|
||||||
["/usr/local/bin/apt"]="1:1:1"
|
["/usr/local/bin/apt"]="1:1:1"
|
||||||
|
["/usr/local/bin/emuhere"]="1:1:1"
|
||||||
["/root/Desktop/install"]="1:1:1"
|
["/root/Desktop/install"]="1:1:1"
|
||||||
)
|
)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user