Upload files to "/"
2
etc/NetworkManager/conf.d/dns.conf
Normal file
|
|
@ -0,0 +1,2 @@
|
|||
[main]
|
||||
dns=systemd-resolved
|
||||
222
etc/calamares/branding/ezarcher/branding.desc
Normal file
|
|
@ -0,0 +1,222 @@
|
|||
# 4rch custom settings
|
||||
# SPDX-FileCopyrightText: no
|
||||
# SPDX-License-Identifier: CC0-1.0
|
||||
#
|
||||
# Product branding information. This influences some global
|
||||
# user-visible aspects of Calamares, such as the product
|
||||
# name, window behavior, and the slideshow during installation.
|
||||
#
|
||||
# Additional styling can be done using the stylesheet.qss
|
||||
# file, also in the branding directory.
|
||||
---
|
||||
componentName: ezarcher
|
||||
|
||||
|
||||
### WELCOME / OVERALL WORDING
|
||||
#
|
||||
# These settings affect some overall phrasing and looks,
|
||||
# which are most visible in the welcome page.
|
||||
|
||||
# This selects between different welcome texts. When false, uses
|
||||
# the traditional "Welcome to the %1 installer.", and when true,
|
||||
# uses "Welcome to the Calamares installer for %1." This allows
|
||||
# to distinguish this installer from other installers for the
|
||||
# same distribution.
|
||||
welcomeStyleCalamares: false
|
||||
|
||||
# Should the welcome image (productWelcome, below) be scaled
|
||||
# up beyond its natural size? If false, the image does not grow
|
||||
# with the window but remains the same size throughout (this
|
||||
# may have surprising effects on HiDPI monitors).
|
||||
welcomeExpandingLogo: true
|
||||
|
||||
### WINDOW CONFIGURATION
|
||||
#
|
||||
# The settings here affect the placement of the Calamares
|
||||
# window through hints to the window manager and initial
|
||||
# sizing of the Calamares window.
|
||||
|
||||
# Size and expansion policy for Calamares.
|
||||
# - "normal" or unset, expand as needed, use *windowSize*
|
||||
# - "fullscreen", start as large as possible, ignore *windowSize*
|
||||
# - "noexpand", don't expand automatically, use *windowSize*
|
||||
windowExpanding: normal
|
||||
|
||||
# Size of Calamares window, expressed as w,h. Both w and h
|
||||
# may be either pixels (suffix px) or font-units (suffix em).
|
||||
# e.g. "800px,600px"
|
||||
# "60em,480px"
|
||||
# This setting is ignored if "fullscreen" is selected for
|
||||
# *windowExpanding*, above. If not set, use constants defined
|
||||
# in CalamaresUtilsGui, 800x520.
|
||||
windowSize: 800px,520px
|
||||
|
||||
# Placement of Calamares window. Either "center" or "free".
|
||||
# Whether "center" actually works does depend on the window
|
||||
# manager in use (and only makes sense if you're not using
|
||||
# *windowExpanding* set to "fullscreen").
|
||||
windowPlacement: center
|
||||
|
||||
### PANELS CONFIGURATION
|
||||
#
|
||||
# Calamares has a main content area, and two panels (navigation
|
||||
# and progress / sidebar). The panels can be controlled individually,
|
||||
# or switched off. If both panels are switched off, the layout of
|
||||
# the main content area loses its margins, on the assumption that
|
||||
# you're doing something special.
|
||||
|
||||
# Kind of sidebar (panel on the left, showing progress).
|
||||
# - "widget" or unset, use traditional sidebar (logo, items)
|
||||
# - "none", hide it entirely
|
||||
# - "qml", use calamares-sidebar.qml from branding folder
|
||||
# In addition, you **may** specify a side, separated by a comma,
|
||||
# from the kind. Valid sides are:
|
||||
# - "left" (if not specified, uses this)
|
||||
# - "right"
|
||||
# - "top"
|
||||
# - "bottom"
|
||||
# For instance, "widget,right" is valid; so is "qml", which defaults
|
||||
# to putting the sidebar on the left. Also valid is "qml,top".
|
||||
# While "widget,top" is valid, the widgets code is **not** flexible
|
||||
# and results will be terrible.
|
||||
sidebar: widget
|
||||
|
||||
# Kind of navigation (button panel on the bottom).
|
||||
# - "widget" or unset, use traditional navigation
|
||||
# - "none", hide it entirely
|
||||
# - "qml", use calamares-navigation.qml from branding folder
|
||||
# In addition, you **may** specify a side, separated by a comma,
|
||||
# from the kind. The same sides are valid as for *sidebar*,
|
||||
# except the default is *bottom*.
|
||||
navigation: widget
|
||||
|
||||
|
||||
### STRINGS, IMAGES AND COLORS
|
||||
#
|
||||
# This section contains the "branding proper" of names
|
||||
# and images, rather than global-look settings.
|
||||
|
||||
# These are strings shown to the user in the user interface.
|
||||
# There is no provision for translating them -- since they
|
||||
# are names, the string is included as-is.
|
||||
#
|
||||
# The four Url strings are the Urls used by the buttons in
|
||||
# the welcome screen, and are not shown to the user. Clicking
|
||||
# on the "Support" button, for instance, opens the link supportUrl.
|
||||
# If a Url is empty, the corresponding button is not shown.
|
||||
#
|
||||
# bootloaderEntryName is how this installation / distro is named
|
||||
# in the boot loader (e.g. in the GRUB menu).
|
||||
#
|
||||
# These strings support substitution from /etc/os-release
|
||||
# if KDE Frameworks 5.58 are available at build-time. When
|
||||
# enabled, @{var-name} is replaced by the equivalent value
|
||||
# from os-release. All the supported var-names are in all-caps,
|
||||
# and are listed on the FreeDesktop.org site,
|
||||
# https://www.freedesktop.org/software/systemd/man/os-release.html
|
||||
# Note that ANSI_COLOR and CPE_NAME don't make sense here, and
|
||||
# are not supported (the rest are). Remember to quote the string
|
||||
# if it contains substitutions, or you'll get YAML exceptions.
|
||||
#
|
||||
# The *Url* entries are used on the welcome page, and they
|
||||
# are visible as buttons there if the corresponding *show* keys
|
||||
# are set to "true" (they can also be overridden).
|
||||
strings:
|
||||
productName: "@{NAME}"
|
||||
shortProductName: 4RCH
|
||||
version: 2021
|
||||
shortVersion: 2021
|
||||
versionedName: 4RCH Linux
|
||||
shortVersionedName: 4RCH Linux
|
||||
bootloaderEntryName: 4RCH Linux
|
||||
productUrl: https://sourceforge.net/projects/ezarch/
|
||||
# supportUrl: https://sourceforge.net/projects/ezarch/
|
||||
# knownIssuesUrl: https://sourceforge.net/projects/ezarch/
|
||||
# releaseNotesUrl: https://sourceforge.net/projects/ezarch/
|
||||
# donateUrl: https://sourceforge.net/projects/ezarch/
|
||||
|
||||
# These images are loaded from the branding module directory.
|
||||
#
|
||||
# productBanner is an optional image, which if present, will be shown
|
||||
# on the welcome page of the application, above the welcome text.
|
||||
# It is intended to have a width much greater than height.
|
||||
# It is displayed at 64px height (also on HiDPI).
|
||||
# Recommended size is 64px tall, and up to 460px wide.
|
||||
# productIcon is used as the window icon, and will (usually) be used
|
||||
# by the window manager to represent the application. This image
|
||||
# should be square, and may be displayed by the window manager
|
||||
# as small as 16x16 (but possibly larger).
|
||||
# productLogo is used as the logo at the top of the left-hand column
|
||||
# which shows the steps to be taken. The image should be square,
|
||||
# and is displayed at 80x80 pixels (also on HiDPI).
|
||||
# productWallpaper is an optional image, which if present, will replace
|
||||
# the normal solid background on every page of the application.
|
||||
# It can be any size and proportion,
|
||||
# and will be tiled to fit the entire window.
|
||||
# For a non-tiled wallpaper, the size should be the same as
|
||||
# the overall window, see *windowSize* above (800x520).
|
||||
# productWelcome is shown on the welcome page of the application in
|
||||
# the middle of the window, below the welcome text. It can be
|
||||
# any size and proportion, and will be scaled to fit inside
|
||||
# the window. Use `welcomeExpandingLogo` to make it non-scaled.
|
||||
# Recommended size is 320x150.
|
||||
#
|
||||
# These filenames can also use substitutions from os-release (see above).
|
||||
images:
|
||||
# productBanner: "banner.png"
|
||||
productIcon: "squid.png"
|
||||
productLogo: "logo.png"
|
||||
productWallpaper: "wallpaper.png"
|
||||
productWelcome: "languages.png"
|
||||
|
||||
# Colors for text and background components.
|
||||
#
|
||||
# - sidebarBackground is the background of the sidebar
|
||||
# - sidebarText is the (foreground) text color
|
||||
# - sidebarTextHighlight sets the background of the selected (current) step.
|
||||
# Optional, and defaults to the application palette.
|
||||
# - sidebarSelect is the text color of the selected step.
|
||||
#
|
||||
# These colors can **also** be set through the stylesheet, if the
|
||||
# branding component also ships a stylesheet.qss. Then they are
|
||||
# the corresponding CSS attributes of #sidebarApp.
|
||||
style:
|
||||
sidebarBackground: "#292F34"
|
||||
sidebarText: "#FFFFFF"
|
||||
sidebarTextSelect: "#292F34"
|
||||
sidebarTextHighlight: "#D35400"
|
||||
|
||||
### SLIDESHOW
|
||||
#
|
||||
# The slideshow is displayed during execution steps (e.g. when the
|
||||
# installer is actually writing to disk and doing other slow things).
|
||||
|
||||
# The slideshow can be a QML file (recommended) which can display
|
||||
# arbitrary things -- text, images, animations, or even play a game --
|
||||
# during the execution step. The QML **is** abruptly stopped when the
|
||||
# execution step is done, though, so maybe a game isn't a great idea.
|
||||
#
|
||||
# The slideshow can also be a sequence of images (not recommended unless
|
||||
# you don't want QML at all in your Calamares). The images are displayed
|
||||
# at a rate of 1 every 2 seconds during the execution step.
|
||||
#
|
||||
# To configure a QML file, list a single filename:
|
||||
# slideshow: "show.qml"
|
||||
# To configure images, like the filenames (here, as an inline list):
|
||||
# slideshow: [ "/etc/calamares/slideshow/0.png", "/etc/logo.png" ]
|
||||
slideshow: "show.qml"
|
||||
|
||||
# There are two available APIs for a QML slideshow:
|
||||
# - 1 (the default) loads the entire slideshow when the installation-
|
||||
# slideshow page is shown and starts the QML then. The QML
|
||||
# is never stopped (after installation is done, times etc.
|
||||
# continue to fire).
|
||||
# - 2 loads the slideshow on startup and calls onActivate() and
|
||||
# onLeave() in the root object. After the installation is done,
|
||||
# the show is stopped (first by calling onLeave(), then destroying
|
||||
# the QML components).
|
||||
#
|
||||
# An image slideshow does not need to have the API defined.
|
||||
slideshowAPI: 2
|
||||
|
||||
|
||||
BIN
etc/calamares/branding/ezarcher/lang/calamares-default_ar.qm
Normal file
BIN
etc/calamares/branding/ezarcher/lang/calamares-default_en.qm
Normal file
BIN
etc/calamares/branding/ezarcher/lang/calamares-default_eo.qm
Normal file
BIN
etc/calamares/branding/ezarcher/lang/calamares-default_fr.qm
Normal file
BIN
etc/calamares/branding/ezarcher/lang/calamares-default_nl.qm
Normal file
BIN
etc/calamares/branding/ezarcher/languages.png
Normal file
|
After Width: | Height: | Size: 13 KiB |
2
etc/calamares/branding/ezarcher/languages.png.license
Normal file
|
|
@ -0,0 +1,2 @@
|
|||
SPDX-FileCopyrightText: 2015 Teo Mrnjavac <teo@kde.org>
|
||||
SPDX-License-Identifier: GPL-3.0-or-later
|
||||
BIN
etc/calamares/branding/ezarcher/languages.png~
Normal file
|
After Width: | Height: | Size: 84 KiB |
BIN
etc/calamares/branding/ezarcher/logo.png
Normal file
|
After Width: | Height: | Size: 64 KiB |
BIN
etc/calamares/branding/ezarcher/logo.png~
Normal file
|
After Width: | Height: | Size: 33 KiB |
121
etc/calamares/branding/ezarcher/show.qml
Normal file
|
|
@ -0,0 +1,121 @@
|
|||
/* === This file is part of Calamares - <http://github.com/calamares> ===
|
||||
*
|
||||
* Copyright 2015, Teo Mrnjavac <teo@kde.org>
|
||||
*
|
||||
* Calamares is free software: you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation, either version 3 of the License, or
|
||||
* (at your option) any later version.
|
||||
*
|
||||
* Calamares is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with Calamares. If not, see <http://www.gnu.org/licenses/>.
|
||||
*
|
||||
* 4RCH custom settings
|
||||
*/
|
||||
|
||||
import QtQuick 2.0;
|
||||
import calamares.slideshow 1.0;
|
||||
|
||||
Presentation
|
||||
{
|
||||
id: presentation
|
||||
|
||||
Timer {
|
||||
id: advanceTimer
|
||||
interval: 30000
|
||||
running: true
|
||||
repeat: true
|
||||
onTriggered: presentation.goToNextSlide()
|
||||
}
|
||||
|
||||
Slide {
|
||||
anchors.fill: parent
|
||||
anchors.verticalCenterOffset: 0
|
||||
|
||||
|
||||
Image {
|
||||
id: background1
|
||||
source: "slide1.png"
|
||||
width: parent.width; height: parent.height
|
||||
horizontalAlignment: Image.AlignCenter
|
||||
verticalAlignment: Image.AlignTop
|
||||
|
||||
anchors.fill: parent
|
||||
|
||||
Text {
|
||||
anchors.centerIn: parent
|
||||
anchors.verticalCenterOffset: 165
|
||||
anchors.horizontalCenterOffset: 0
|
||||
font.pixelSize: parent.width *.020
|
||||
color: 'white'
|
||||
text: qsTr("<b>Welcome to 4RCH Linux, an Arch based Linux<br/>")
|
||||
wrapMode: Text.WordWrap
|
||||
width: parent.width / 1.4
|
||||
horizontalAlignment: Text.AlignHCenter
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Slide {
|
||||
anchors.fill: parent
|
||||
anchors.verticalCenterOffset: 0
|
||||
|
||||
Image {
|
||||
id: background2
|
||||
source: "slide1.png"
|
||||
width: parent.width; height: parent.height
|
||||
horizontalAlignment: Image.AlignCenter
|
||||
verticalAlignment: Image.AlignTop
|
||||
|
||||
anchors.fill: parent
|
||||
|
||||
Text {
|
||||
anchors.centerIn: parent
|
||||
anchors.verticalCenterOffset: 163
|
||||
anchors.horizontalCenterOffset: 0
|
||||
font.pixelSize: parent.width *.020
|
||||
color: 'white'
|
||||
text: qsTr("<b>4RCH aims to be minimal but simple arch based distribution<br/>")
|
||||
|
||||
wrapMode: Text.WordWrap
|
||||
width: parent.width / 1.4
|
||||
horizontalAlignment: Text.AlignHCenter
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Slide {
|
||||
anchors.fill: parent
|
||||
anchors.verticalCenterOffset: 0
|
||||
|
||||
Image {
|
||||
id: background4
|
||||
source: "slide1.png"
|
||||
width: parent.width; height: parent.height
|
||||
horizontalAlignment: Image.AlignCenter
|
||||
verticalAlignment: Image.AlignTop
|
||||
|
||||
anchors.fill: parent
|
||||
|
||||
Text {
|
||||
anchors.centerIn: parent
|
||||
anchors.verticalCenterOffset: 165
|
||||
anchors.horizontalCenterOffset: 0
|
||||
font.pixelSize: parent.width *.020
|
||||
color: 'white'
|
||||
text: qsTr("")
|
||||
wrapMode: Text.WordWrap
|
||||
width: parent.width / 1.4
|
||||
horizontalAlignment: Text.AlignHCenter
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Component.onCompleted: advanceTimer.running = true
|
||||
}
|
||||
|
||||
BIN
etc/calamares/branding/ezarcher/slide1.png
Normal file
|
After Width: | Height: | Size: 1.1 MiB |
BIN
etc/calamares/branding/ezarcher/slide1.png~
Normal file
|
After Width: | Height: | Size: 2.3 MiB |
BIN
etc/calamares/branding/ezarcher/squid.png
Normal file
|
After Width: | Height: | Size: 8.1 KiB |
2
etc/calamares/branding/ezarcher/squid.png.license
Normal file
|
|
@ -0,0 +1,2 @@
|
|||
SPDX-FileCopyrightText: 2014 Teo Mrnjavac <teo@kde.org>
|
||||
SPDX-License-Identifier: GPL-3.0-or-later
|
||||
92
etc/calamares/branding/ezarcher/stylesheet.qss
Normal file
|
|
@ -0,0 +1,92 @@
|
|||
/*
|
||||
|
||||
A branding component can ship a stylesheet (like this one)
|
||||
which is applied to parts of the Calamares user-interface.
|
||||
In principle, all parts can be styled through CSS.
|
||||
Missing parts should be filed as issues.
|
||||
|
||||
The IDs are based on the object names in the C++ code.
|
||||
You can use the Debug Dialog to find out object names:
|
||||
- Open the debug dialog
|
||||
- Choose tab *Tools*
|
||||
- Click *Widget Tree* button
|
||||
The list of object names is printed in the log.
|
||||
|
||||
Documentation for styling Qt Widgets through a stylesheet
|
||||
can be found at
|
||||
https://doc.qt.io/qt-5/stylesheet-examples.html
|
||||
https://doc.qt.io/qt-5/stylesheet-reference.html
|
||||
In Calamares, styling widget classes is supported (e.g.
|
||||
using `QComboBox` as a selector).
|
||||
|
||||
This example stylesheet has all the actual styling commented out.
|
||||
The examples are not exhaustive.
|
||||
|
||||
*/
|
||||
|
||||
/*** Generic Widgets.
|
||||
*
|
||||
* You can style **all** widgets of a given class by selecting
|
||||
* the class name. Some widgets have specialized sub-selectors.
|
||||
*/
|
||||
|
||||
/*
|
||||
QPushButton { background-color: green; }
|
||||
*/
|
||||
|
||||
/*** Main application window.
|
||||
*
|
||||
* The main application window has the sidebar, which in turn
|
||||
* contains a logo and a list of items -- note that the list
|
||||
* can **not** be styled, since it has its own custom C++
|
||||
* delegate code.
|
||||
*/
|
||||
|
||||
/*
|
||||
#mainApp { }
|
||||
#sidebarApp { }
|
||||
#logoApp { }
|
||||
*/
|
||||
|
||||
/*** Welcome module.
|
||||
*
|
||||
* There are plenty of parts, but the buttons are the most interesting
|
||||
* ones (donate, release notes, ...). The little icon image can be
|
||||
* styled through *qproperty-icon*, which is a little obscure.
|
||||
* URLs can reference the QRC paths of the Calamares application
|
||||
* or loaded via plugins or within the filesystem. There is no
|
||||
* comprehensive list of available icons, though.
|
||||
*/
|
||||
|
||||
/*
|
||||
QPushButton#aboutButton { qproperty-icon: url(:/data/images/release.svg); }
|
||||
#donateButton,
|
||||
#supportButton,
|
||||
#releaseNotesButton,
|
||||
#knownIssuesButton { qproperty-icon: url(:/data/images/help.svg); }
|
||||
*/
|
||||
|
||||
/*** Partitioning module.
|
||||
*
|
||||
* Many moving parts, which you will need to experiment with.
|
||||
*/
|
||||
|
||||
/*
|
||||
#bootInfoIcon { }
|
||||
#bootInfoLable { }
|
||||
#deviceInfoIcon { }
|
||||
#defineInfoLabel { }
|
||||
#scrollAreaWidgetContents { }
|
||||
#partitionBarView { }
|
||||
*/
|
||||
|
||||
/*** Licensing module.
|
||||
*
|
||||
* The licensing module paints individual widgets for each of
|
||||
* the licenses. The item can be collapsed or expanded.
|
||||
*/
|
||||
|
||||
/*
|
||||
#licenseItem { }
|
||||
#licenseItemFullText { }
|
||||
*/
|
||||
BIN
etc/calamares/branding/ezarcher/wallpaper.png
Normal file
|
After Width: | Height: | Size: 1,013 KiB |
BIN
etc/calamares/branding/ezarcher/wallpaper.png~
Normal file
|
After Width: | Height: | Size: 1,015 KiB |
22
etc/calamares/modules/bootloader.conf
Normal file
|
|
@ -0,0 +1,22 @@
|
|||
# 4rch custom settings
|
||||
# SPDX-FileCopyrightText: no
|
||||
# SPDX-License-Identifier: CC0-1.0
|
||||
#
|
||||
# Configuration for the bootloader module.
|
||||
#
|
||||
---
|
||||
|
||||
efiBootLoader: "grub"
|
||||
|
||||
kernel: "/vmlinuz-linux"
|
||||
img: "/initramfs-linux.img"
|
||||
fallback: "/initramfs-linux-fallback.img"
|
||||
timeout: "10"
|
||||
|
||||
grubInstall: "grub-install"
|
||||
grubMkconfig: "grub-mkconfig"
|
||||
grubCfg: "/boot/grub/grub.cfg"
|
||||
grubProbe: "grub-probe"
|
||||
efiBootMgr: "efibootmgr"
|
||||
|
||||
installEFIFallback: true
|
||||
15
etc/calamares/modules/displaymanager.conf
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
# 4rch custom settings
|
||||
# SPDX-FileCopyrightText: no
|
||||
# SPDX-License-Identifier: CC0-1.0
|
||||
#
|
||||
# Configuration for the displaymanager module.
|
||||
#
|
||||
---
|
||||
|
||||
displaymanagers:
|
||||
- sddm
|
||||
- lightdm
|
||||
|
||||
basicSetup: false
|
||||
|
||||
sysconfigSetup: false
|
||||
20
etc/calamares/modules/fstab.conf
Normal file
|
|
@ -0,0 +1,20 @@
|
|||
# 4rch custom settings
|
||||
# SPDX-FileCopyrightText: no
|
||||
# SPDX-License-Identifier: CC0-1.0
|
||||
#
|
||||
# Configuration for the fstab module.
|
||||
#
|
||||
---
|
||||
|
||||
mountOptions:
|
||||
default: defaults,noatime
|
||||
btrfs: defaults,noatime,noautodefrag
|
||||
btrfs_swap: defaults
|
||||
|
||||
efiMountOptions: umask=0077
|
||||
|
||||
ssdExtraMountOptions:
|
||||
btrfs: ssd
|
||||
|
||||
crypttabOptions: luks
|
||||
|
||||
20
etc/calamares/modules/grubcfg.conf
Normal file
|
|
@ -0,0 +1,20 @@
|
|||
# 4rch custom settings
|
||||
# SPDX-FileCopyrightText: no
|
||||
# SPDX-License-Identifier: CC0-1.0
|
||||
#
|
||||
# Configuration for the grugcfg module.
|
||||
#
|
||||
---
|
||||
|
||||
overwrite: false
|
||||
|
||||
prefer_grub_d: false
|
||||
|
||||
keepDistributor: false
|
||||
|
||||
defaults:
|
||||
GRUB_TIMEOUT: 5
|
||||
GRUB_DEFAULT: "saved"
|
||||
GRUB_DISABLE_SUBMENU: true
|
||||
GRUB_TERMINAL_OUTPUT: "console"
|
||||
GRUB_DISABLE_RECOVERY: true
|
||||
11
etc/calamares/modules/initcpio.conf
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
# 4rch custom settings
|
||||
# SPDX-FileCopyrightText: no
|
||||
# SPDX-License-Identifier: CC0-1.0
|
||||
#
|
||||
# Configuration for the initcpio module.
|
||||
#
|
||||
---
|
||||
|
||||
kernel: linux
|
||||
|
||||
be_unsafe: false
|
||||
11
etc/calamares/modules/keyboard.conf
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
# 4rch custom settings
|
||||
# SPDX-FileCopyrightText: no
|
||||
# SPDX-License-Identifier: CC0-1.0
|
||||
#
|
||||
# Configuration for the keyboard module.
|
||||
#
|
||||
---
|
||||
|
||||
xOrgConfFileName: "/etc/X11/xorg.conf.d/00-keyboard.conf"
|
||||
|
||||
convertedKeymapPath: "/lib/kbd/keymaps/xkb"
|
||||
15
etc/calamares/modules/locale.conf
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
# 4rch custom settings
|
||||
# SPDX-FileCopyrightText: no
|
||||
# SPDX-License-Identifier: CC0-1.0
|
||||
#
|
||||
# Configuration for the locale module.
|
||||
#
|
||||
---
|
||||
|
||||
region: ""
|
||||
zone: ""
|
||||
|
||||
geoip:
|
||||
style: "json"
|
||||
url: "https://geoip.kde.org/v1/calamares"
|
||||
selector: "" # leave blank for the default
|
||||
19
etc/calamares/modules/machineid.conf
Normal file
|
|
@ -0,0 +1,19 @@
|
|||
# 4rch custom settings
|
||||
# SPDX-FileCopyrightText: no
|
||||
# SPDX-License-Identifier: CC0-1.0
|
||||
#
|
||||
# Machine-ID and other random data on the target system.
|
||||
#
|
||||
---
|
||||
|
||||
systemd: true
|
||||
|
||||
dbus: true
|
||||
|
||||
dbus-symlink: true
|
||||
|
||||
entropy-copy: false
|
||||
|
||||
entropy-files:
|
||||
- /var/lib/urandom/random-seed
|
||||
- /var/lib/systemd/random-seed
|
||||
39
etc/calamares/modules/mount.conf
Normal file
|
|
@ -0,0 +1,39 @@
|
|||
# 4rch custom settings
|
||||
# SPDX-FileCopyrightText: no
|
||||
# SPDX-License-Identifier: CC0-1.0
|
||||
#
|
||||
# Configuration for the mount module.
|
||||
#
|
||||
---
|
||||
|
||||
extraMounts:
|
||||
- device: proc
|
||||
fs: proc
|
||||
mountPoint: /proc
|
||||
- device: sys
|
||||
fs: sysfs
|
||||
mountPoint: /sys
|
||||
- device: /dev
|
||||
mountPoint: /dev
|
||||
options: bind
|
||||
- device: tmpfs
|
||||
fs: tmpfs
|
||||
mountPoint: /run
|
||||
- device: /run/udev
|
||||
mountPoint: /run/udev
|
||||
options: bind
|
||||
|
||||
extraMountsEfi:
|
||||
- device: efivarfs
|
||||
fs: efivarfs
|
||||
mountPoint: /sys/firmware/efi/efivars
|
||||
|
||||
btrfsSubvolumes:
|
||||
- mountPoint: /
|
||||
subvolume: /@
|
||||
- mountPoint: /home
|
||||
subvolume: /@home
|
||||
- mountPoint: /var/cache
|
||||
subvolume: /@cache
|
||||
- mountPoint: /var/log
|
||||
subvolume: /@log
|
||||
18
etc/calamares/modules/packages.conf
Normal file
|
|
@ -0,0 +1,18 @@
|
|||
# 4rch custom settings
|
||||
# SPDX-FileCopyrightText: no
|
||||
# SPDX-License-Identifier: CC0-1.0
|
||||
#
|
||||
# The configuration for the packages module.
|
||||
#
|
||||
---
|
||||
|
||||
backend: pacman
|
||||
|
||||
skip_if_no_internet: false
|
||||
update_db: false
|
||||
update_system: false
|
||||
|
||||
operations:
|
||||
- remove:
|
||||
- calamares
|
||||
- ckbcomp
|
||||
36
etc/calamares/modules/partition.conf
Normal file
|
|
@ -0,0 +1,36 @@
|
|||
# 4rch custom settings
|
||||
# SPDX-FileCopyrightText: no
|
||||
# SPDX-License-Identifier: CC0-1.0
|
||||
#
|
||||
# Configuration for the partition module.
|
||||
#
|
||||
---
|
||||
|
||||
efiSystemPartition: "/boot/efi"
|
||||
|
||||
efiSystemPartitionSize: 550M
|
||||
|
||||
efiSystemPartitionName: EFI
|
||||
|
||||
userSwapChoices:
|
||||
- none # Create no swap, use no swap
|
||||
- small # Up to 4GB
|
||||
- suspend # At least main memory size
|
||||
# - reuse # Re-use existing swap, but don't create any (unsupported right now)
|
||||
- file # To swap file instead of partition
|
||||
|
||||
swapPartitionName: SWAP
|
||||
|
||||
drawNestedPartitions: false
|
||||
|
||||
alwaysShowPartitionLabels: true
|
||||
|
||||
allowManualPartitioning: true
|
||||
|
||||
initialPartitioningChoice: none
|
||||
|
||||
initialSwapChoice: none
|
||||
|
||||
defaultFileSystemType: "btrfs"
|
||||
|
||||
availableFileSystemTypes: ["ext4","btrfs","xfs"]
|
||||
9
etc/calamares/modules/removeuser.conf
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
# 4rch custom settings
|
||||
# SPDX-FileCopyrightText: no
|
||||
# SPDX-License-Identifier: CC0-1.0
|
||||
#
|
||||
# Configuration for the removeuser module.
|
||||
#
|
||||
---
|
||||
|
||||
username: 4rch
|
||||
17
etc/calamares/modules/services-systemd.conf
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
# 4rch custom settings
|
||||
# SPDX-FileCopyrightText: no
|
||||
# SPDX-License-Identifier: CC0-1.0
|
||||
#
|
||||
# Systemd services manipulation.
|
||||
#
|
||||
---
|
||||
|
||||
services:
|
||||
- name: "avahi-daemon"
|
||||
mandatory: false
|
||||
|
||||
timers:
|
||||
- name: "fstrim"
|
||||
mandatory: false
|
||||
- name: "plocate-updatedb"
|
||||
mandatory: false
|
||||
18
etc/calamares/modules/shellprocess-ezfinish.conf
Normal file
|
|
@ -0,0 +1,18 @@
|
|||
# 4rch custom settings
|
||||
# SPDX-FileCopyrightText: no
|
||||
# SPDX-License-Identifier: CC0-1.0
|
||||
#
|
||||
# Configuration for the ezfinish.conf shell process job.
|
||||
#
|
||||
---
|
||||
|
||||
i18n:
|
||||
name: "Remove misc files"
|
||||
|
||||
dontChroot: false
|
||||
timeout: 999
|
||||
script:
|
||||
- "-mv @@ROOT@@/etc/systemd/system/ez-pacman-init @@ROOT@@/etc/systemd/system/pacman-init.service"
|
||||
- "-rm @@ROOT@@/etc/systemd/system/etc-pacman.d-gnupg.mount"
|
||||
- "-rm @@ROOT@@/root/.automated_script.sh"
|
||||
- "-rm @@ROOT@@/root/.zlogin"
|
||||
16
etc/calamares/modules/shellprocess-mvezmkinit.conf
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
# 4rch custom settings
|
||||
# SPDX-FileCopyrightText: no
|
||||
# SPDX-License-Identifier: CC0-1.0
|
||||
#
|
||||
# Configuration for the mvezmkinit.conf files shell process job.
|
||||
#
|
||||
---
|
||||
|
||||
i18n:
|
||||
name: "Fix mkinitcpio stuff"
|
||||
|
||||
dontChroot: false
|
||||
timeout: 999
|
||||
script:
|
||||
- "-mv @@ROOT@@/etc/mkinitcpio.d/ezmkinit @@ROOT@@/etc/mkinitcpio.d/linux.preset"
|
||||
- "-mv @@ROOT@@/etc/ezmkinitcpio.conf @@ROOT@@/etc/mkinitcpio.conf"
|
||||
15
etc/calamares/modules/unpackfs.conf
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
# 4rch custom settings
|
||||
# SPDX-FileCopyrightText: no
|
||||
# SPDX-License-Identifier: CC0-1.0
|
||||
#
|
||||
# Configuration for the unpackfs module.
|
||||
#
|
||||
---
|
||||
|
||||
unpack:
|
||||
- source: "/run/archiso/bootmnt/arch/x86_64/airootfs.sfs"
|
||||
sourcefs: "squashfs"
|
||||
destination: "/"
|
||||
- source: "/run/archiso/bootmnt/arch/boot/x86_64/vmlinuz-linux"
|
||||
sourcefs: "file"
|
||||
destination: "/boot/vmlinuz-linux"
|
||||
57
etc/calamares/modules/users.conf
Normal file
|
|
@ -0,0 +1,57 @@
|
|||
# 4rch custom settings
|
||||
# SPDX-FileCopyrightText: no
|
||||
# SPDX-License-Identifier: CC0-1.0
|
||||
#
|
||||
# Configuration for the users module.
|
||||
#
|
||||
---
|
||||
|
||||
defaultGroups:
|
||||
- name: users
|
||||
must_exist: true
|
||||
system: true
|
||||
- adm
|
||||
- lp
|
||||
- power
|
||||
- video
|
||||
- network
|
||||
- storage
|
||||
- name: wheel
|
||||
must_exist: false
|
||||
system: true
|
||||
- audio
|
||||
- sys
|
||||
- optical
|
||||
- scanner
|
||||
- rfkill
|
||||
- uucp
|
||||
- sambashare
|
||||
|
||||
|
||||
autologinGroup: autologin
|
||||
|
||||
doAutologin: false
|
||||
|
||||
sudoersGroup: wheel
|
||||
|
||||
setRootPassword: true
|
||||
|
||||
doReusePassword: true
|
||||
|
||||
passwordRequirements:
|
||||
nonempty: true
|
||||
minLength: -1 # Password at least this many characters
|
||||
maxLength: -1 # Password at most this many characters
|
||||
libpwquality:
|
||||
- minlen=0
|
||||
- minclass=0
|
||||
|
||||
allowWeakPasswords: true
|
||||
|
||||
allowWeakPasswordsDefault: true
|
||||
|
||||
userShell: /bin/bash
|
||||
|
||||
setHostname: EtcFile
|
||||
|
||||
writeHostsFile: true
|
||||
37
etc/calamares/modules/welcome.conf
Normal file
|
|
@ -0,0 +1,37 @@
|
|||
# 4rch custom settings
|
||||
# SPDX-FileCopyrightText: no
|
||||
# SPDX-License-Identifier: CC0-1.0
|
||||
#
|
||||
# Configuration for the welcome module.
|
||||
#
|
||||
---
|
||||
|
||||
showSupportUrl: false
|
||||
showKnownIssuesUrl: false
|
||||
showReleaseNotesUrl: false
|
||||
showDonateUrl: false
|
||||
|
||||
requirements:
|
||||
requiredStorage: 8.0
|
||||
|
||||
requiredRam: 1.0
|
||||
|
||||
internetCheckUrl: http://www.freebsd.org
|
||||
|
||||
check:
|
||||
- storage
|
||||
- ram
|
||||
- power
|
||||
- internet
|
||||
- root
|
||||
- screen
|
||||
|
||||
required:
|
||||
# - storage
|
||||
- ram
|
||||
# - root
|
||||
|
||||
geoip:
|
||||
style: "xml"
|
||||
url: "https://geoip.kde.org/v1/ubiquity" # extended XML format
|
||||
selector: "CountryCode" # blank uses default, which is wrong
|
||||
15
etc/calamares/qml/calamares/slideshow/BackButton.qml
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
/* === This file is part of Calamares - <https://calamares.io> ===
|
||||
*
|
||||
* SPDX-FileCopyrightText: 2018 Adriaan de Groot <groot@kde.org>
|
||||
* SPDX-License-Identifier: GPL-3.0-or-later
|
||||
*
|
||||
* Calamares is Free Software: see the License-Identifier above.
|
||||
*
|
||||
*/
|
||||
|
||||
NavButton {
|
||||
id: backButton
|
||||
anchors.left: parent.left
|
||||
visible: parent.currentSlide > 0
|
||||
isForward: false
|
||||
}
|
||||
14
etc/calamares/qml/calamares/slideshow/ForwardButton.qml
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
/* === This file is part of Calamares - <https://calamares.io> ===
|
||||
*
|
||||
* SPDX-FileCopyrightText: 2018 Adriaan de Groot <groot@kde.org>
|
||||
* SPDX-License-Identifier: GPL-3.0-or-later
|
||||
*
|
||||
* Calamares is Free Software: see the License-Identifier above.
|
||||
*
|
||||
*/
|
||||
|
||||
NavButton {
|
||||
id: forwardButton
|
||||
anchors.right: parent.right
|
||||
visible: parent.currentSlide + 1 < parent.slides.length;
|
||||
}
|
||||
59
etc/calamares/qml/calamares/slideshow/NavButton.qml
Normal file
|
|
@ -0,0 +1,59 @@
|
|||
/* === This file is part of Calamares - <https://calamares.io> ===
|
||||
*
|
||||
* SPDX-FileCopyrightText: 2018 Adriaan de Groot <groot@kde.org>
|
||||
* SPDX-License-Identifier: GPL-3.0-or-later
|
||||
*
|
||||
* Calamares is Free Software: see the License-Identifier above.
|
||||
*
|
||||
*/
|
||||
|
||||
/* This is a navigation (arrow) button that fades in on hover, and
|
||||
* which calls forward / backward navigation on the presentation it
|
||||
* is in. It should be a child item of the presentation (not of a
|
||||
* single slide). Use the ForwardButton or BackButton for a pre-
|
||||
* configured instance that interacts with the presentation.
|
||||
*/
|
||||
|
||||
import QtQuick 2.5;
|
||||
|
||||
Image {
|
||||
id: fade
|
||||
|
||||
property bool isForward : true
|
||||
|
||||
width: 100
|
||||
height: 100
|
||||
anchors.verticalCenter: parent.verticalCenter
|
||||
opacity: 0.3
|
||||
|
||||
OpacityAnimator {
|
||||
id: fadeIn
|
||||
target: fade
|
||||
from: fade.opacity
|
||||
to: 1.0
|
||||
duration: 500
|
||||
running: false
|
||||
}
|
||||
|
||||
OpacityAnimator {
|
||||
id: fadeOut
|
||||
target: fade
|
||||
from: fade.opacity
|
||||
to: 0.3
|
||||
duration: 250
|
||||
running: false
|
||||
}
|
||||
|
||||
MouseArea {
|
||||
anchors.fill: parent
|
||||
hoverEnabled: true
|
||||
onEntered: { fadeOut.running = false; fadeIn.running = true }
|
||||
onExited: { fadeIn.running = false ; fadeOut.running = true }
|
||||
onClicked: {
|
||||
if (isForward)
|
||||
fade.parent.goToNextSlide()
|
||||
else
|
||||
fade.parent.goToPreviousSlide()
|
||||
}
|
||||
}
|
||||
}
|
||||
243
etc/calamares/qml/calamares/slideshow/Presentation.qml
Normal file
|
|
@ -0,0 +1,243 @@
|
|||
/* === This file is part of Calamares - <https://calamares.io> ===
|
||||
*
|
||||
* SPDX-FileCopyrightText: 2017 Adriaan de Groot <groot@kde.org>
|
||||
* SPDX-FileCopyrightText: 2016 The Qt Company Ltd.
|
||||
* SPDX-License-Identifier: LGPL-2.1-only
|
||||
*
|
||||
* 2017, Adriaan de Groot <groot@kde.org>
|
||||
* - added looping, keys-instead-of-shortcut
|
||||
* 2018, Adriaan de Groot <groot@kde.org>
|
||||
* - make looping a property, drop the 'c' fade-key
|
||||
* - drop navigation through entering a slide number
|
||||
* (this and the 'c' key make sense in a *presentation*
|
||||
* slideshow, not in a passive slideshow like Calamares)
|
||||
* - remove quit key
|
||||
* 2019, Adriaan de Groot <groot@kde.org>
|
||||
* - Support "V2" loading
|
||||
* - Disable shortcuts until the content is visible in Calamares
|
||||
* 2020, Adriaan de Groot <groot@kde.org>
|
||||
* - Updated to SPDX headers
|
||||
*/
|
||||
|
||||
/****************************************************************************
|
||||
**
|
||||
** Copyright (C) 2016 The Qt Company Ltd.
|
||||
** Contact: https://www.qt.io/licensing/
|
||||
**
|
||||
** This file is part of the QML Presentation System.
|
||||
**
|
||||
** $QT_BEGIN_LICENSE:LGPL$
|
||||
** Commercial License Usage
|
||||
** Licensees holding valid commercial Qt licenses may use this file in
|
||||
** accordance with the commercial license agreement provided with the
|
||||
** Software or, alternatively, in accordance with the terms contained in
|
||||
** a written agreement between you and Digia. For licensing terms and
|
||||
** conditions see http://qt.digia.com/licensing. For further information
|
||||
** use the contact form at http://qt.digia.com/contact-us.
|
||||
**
|
||||
** GNU Lesser General Public License Usage
|
||||
** Alternatively, this file may be used under the terms of the GNU Lesser
|
||||
** General Public License version 2.1 as published by the Free Software
|
||||
** Foundation and appearing in the file LICENSE.LGPL included in the
|
||||
** packaging of this file. Please review the following information to
|
||||
** ensure the GNU Lesser General Public License version 2.1 requirements
|
||||
** will be met: http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
|
||||
**
|
||||
** In addition, as a special exception, Digia gives you certain additional
|
||||
** rights. These rights are described in the Digia Qt LGPL Exception
|
||||
** version 1.1, included in the file LGPL_EXCEPTION.txt in this package.
|
||||
**
|
||||
** GNU General Public License Usage
|
||||
** Alternatively, this file may be used under the terms of the GNU
|
||||
** General Public License version 3.0 as published by the Free Software
|
||||
** Foundation and appearing in the file LICENSE.GPL included in the
|
||||
** packaging of this file. Please review the following information to
|
||||
** ensure the GNU General Public License version 3.0 requirements will be
|
||||
** met: http://www.gnu.org/copyleft/gpl.html.
|
||||
**
|
||||
**
|
||||
** $QT_END_LICENSE$
|
||||
**
|
||||
****************************************************************************/
|
||||
|
||||
|
||||
import QtQuick 2.5
|
||||
import QtQuick.Window 2.0
|
||||
|
||||
Item {
|
||||
id: root
|
||||
|
||||
property variant slides: []
|
||||
property int currentSlide: 0
|
||||
|
||||
property bool loopSlides: true
|
||||
|
||||
property bool showNotes: false;
|
||||
property bool allowDelay: true;
|
||||
property alias mouseNavigation: mouseArea.enabled
|
||||
property bool arrowNavigation: true
|
||||
property bool keyShortcutsEnabled: true
|
||||
|
||||
property color titleColor: textColor;
|
||||
property color textColor: "black"
|
||||
property string fontFamily: "Helvetica"
|
||||
property string codeFontFamily: "Courier New"
|
||||
|
||||
// This is set by the C++ part of Calamares when the slideshow
|
||||
// becomes visible. You can connect it to a timer, or whatever
|
||||
// else needs to start only when the slideshow becomes visible.
|
||||
//
|
||||
// It is used in this example also to keep the keyboard shortcuts
|
||||
// enabled only while the slideshow is active.
|
||||
property bool activatedInCalamares: false
|
||||
|
||||
// Private API
|
||||
property int _lastShownSlide: 0
|
||||
|
||||
Component.onCompleted: {
|
||||
var slideCount = 0;
|
||||
var slides = [];
|
||||
for (var i=0; i<root.children.length; ++i) {
|
||||
var r = root.children[i];
|
||||
if (r.isSlide) {
|
||||
slides.push(r);
|
||||
}
|
||||
}
|
||||
|
||||
root.slides = slides;
|
||||
|
||||
// Make first slide visible...
|
||||
if (root.slides.length > 0)
|
||||
root.slides[root.currentSlide].visible = true;
|
||||
}
|
||||
|
||||
function switchSlides(from, to, forward) {
|
||||
from.visible = false
|
||||
to.visible = true
|
||||
return true
|
||||
}
|
||||
|
||||
onCurrentSlideChanged: {
|
||||
switchSlides(root.slides[_lastShownSlide], root.slides[currentSlide], currentSlide > _lastShownSlide)
|
||||
_lastShownSlide = currentSlide
|
||||
// Always keep focus on the slideshow
|
||||
root.focus = true
|
||||
}
|
||||
|
||||
function goToNextSlide() {
|
||||
if (root.slides[currentSlide].delayPoints) {
|
||||
if (root.slides[currentSlide]._advance())
|
||||
return;
|
||||
}
|
||||
if (currentSlide + 1 < root.slides.length)
|
||||
++currentSlide;
|
||||
else if (loopSlides)
|
||||
currentSlide = 0; // Loop at the end
|
||||
}
|
||||
|
||||
function goToPreviousSlide() {
|
||||
if (currentSlide - 1 >= 0)
|
||||
--currentSlide;
|
||||
else if (loopSlides)
|
||||
currentSlide = root.slides.length - 1
|
||||
}
|
||||
|
||||
focus: true // Keep focus
|
||||
|
||||
// Navigation through key events, too
|
||||
Keys.onSpacePressed: goToNextSlide()
|
||||
Keys.onRightPressed: goToNextSlide()
|
||||
Keys.onLeftPressed: goToPreviousSlide()
|
||||
|
||||
// navigate with arrow keys
|
||||
Shortcut { sequence: StandardKey.MoveToNextLine; enabled: root.activatedInCalamares && root .arrowNavigation; onActivated: goToNextSlide() }
|
||||
Shortcut { sequence: StandardKey.MoveToPreviousLine; enabled: root.activatedInCalamares && root.arrowNavigation; onActivated: goToPreviousSlide() }
|
||||
Shortcut { sequence: StandardKey.MoveToNextChar; enabled: root.activatedInCalamares && root.arrowNavigation; onActivated: goToNextSlide() }
|
||||
Shortcut { sequence: StandardKey.MoveToPreviousChar; enabled: root.activatedInCalamares && root.arrowNavigation; onActivated: goToPreviousSlide() }
|
||||
|
||||
// presentation-specific single-key shortcuts (which interfere with normal typing)
|
||||
Shortcut { sequence: " "; enabled: root.activatedInCalamares && root.keyShortcutsEnabled; onActivated: goToNextSlide() }
|
||||
|
||||
// standard shortcuts
|
||||
Shortcut { sequence: StandardKey.MoveToNextPage; enabled: root.activatedInCalamares; onActivated: goToNextSlide() }
|
||||
Shortcut { sequence: StandardKey.MoveToPreviousPage; enabled: root.activatedInCalamares; onActivated: goToPreviousSlide() }
|
||||
|
||||
MouseArea {
|
||||
id: mouseArea
|
||||
anchors.fill: parent
|
||||
acceptedButtons: Qt.LeftButton | Qt.RightButton
|
||||
onClicked: {
|
||||
if (mouse.button == Qt.RightButton)
|
||||
goToPreviousSlide()
|
||||
else
|
||||
goToNextSlide()
|
||||
}
|
||||
onPressAndHold: goToPreviousSlide(); //A back mechanism for touch only devices
|
||||
}
|
||||
|
||||
Window {
|
||||
id: notesWindow;
|
||||
width: 400
|
||||
height: 300
|
||||
|
||||
title: "QML Presentation: Notes"
|
||||
visible: root.showNotes
|
||||
|
||||
Flickable {
|
||||
anchors.fill: parent
|
||||
contentWidth: parent.width
|
||||
contentHeight: textContainer.height
|
||||
|
||||
Item {
|
||||
id: textContainer
|
||||
width: parent.width
|
||||
height: notesText.height + 2 * notesText.padding
|
||||
|
||||
Text {
|
||||
id: notesText
|
||||
|
||||
property real padding: 16;
|
||||
|
||||
x: padding
|
||||
y: padding
|
||||
width: parent.width - 2 * padding
|
||||
|
||||
|
||||
font.pixelSize: 16
|
||||
wrapMode: Text.WordWrap
|
||||
|
||||
property string notes: root.slides[root.currentSlide].notes;
|
||||
|
||||
onNotesChanged: {
|
||||
var result = "";
|
||||
|
||||
var lines = notes.split("\n");
|
||||
var beginNewLine = false
|
||||
for (var i=0; i<lines.length; ++i) {
|
||||
var line = lines[i].trim();
|
||||
if (line.length == 0) {
|
||||
beginNewLine = true;
|
||||
} else {
|
||||
if (beginNewLine && result.length) {
|
||||
result += "\n\n"
|
||||
beginNewLine = false
|
||||
}
|
||||
if (result.length > 0)
|
||||
result += " ";
|
||||
result += line;
|
||||
}
|
||||
}
|
||||
|
||||
if (result.length == 0) {
|
||||
font.italic = true;
|
||||
text = "no notes.."
|
||||
} else {
|
||||
font.italic = false;
|
||||
text = result;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
206
etc/calamares/qml/calamares/slideshow/Slide.qml
Normal file
|
|
@ -0,0 +1,206 @@
|
|||
/* === This file is part of Calamares - <https://calamares.io> ===
|
||||
*
|
||||
* SPDX-FileCopyrightText: 2012 Digia Plc and/or its subsidiary(-ies).
|
||||
* SPDX-License-Identifier: LGPL-2.1-only
|
||||
*/
|
||||
|
||||
/****************************************************************************
|
||||
**
|
||||
** Copyright (C) 2012 Digia Plc and/or its subsidiary(-ies).
|
||||
** Contact: http://www.qt-project.org/legal
|
||||
**
|
||||
** This file is part of the QML Presentation System.
|
||||
**
|
||||
** $QT_BEGIN_LICENSE:LGPL$
|
||||
** Commercial License Usage
|
||||
** Licensees holding valid commercial Qt licenses may use this file in
|
||||
** accordance with the commercial license agreement provided with the
|
||||
** Software or, alternatively, in accordance with the terms contained in
|
||||
** a written agreement between you and Digia. For licensing terms and
|
||||
** conditions see http://qt.digia.com/licensing. For further information
|
||||
** use the contact form at http://qt.digia.com/contact-us.
|
||||
**
|
||||
** GNU Lesser General Public License Usage
|
||||
** Alternatively, this file may be used under the terms of the GNU Lesser
|
||||
** General Public License version 2.1 as published by the Free Software
|
||||
** Foundation and appearing in the file LICENSE.LGPL included in the
|
||||
** packaging of this file. Please review the following information to
|
||||
** ensure the GNU Lesser General Public License version 2.1 requirements
|
||||
** will be met: http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
|
||||
**
|
||||
** In addition, as a special exception, Digia gives you certain additional
|
||||
** rights. These rights are described in the Digia Qt LGPL Exception
|
||||
** version 1.1, included in the file LGPL_EXCEPTION.txt in this package.
|
||||
**
|
||||
** GNU General Public License Usage
|
||||
** Alternatively, this file may be used under the terms of the GNU
|
||||
** General Public License version 3.0 as published by the Free Software
|
||||
** Foundation and appearing in the file LICENSE.GPL included in the
|
||||
** packaging of this file. Please review the following information to
|
||||
** ensure the GNU General Public License version 3.0 requirements will be
|
||||
** met: http://www.gnu.org/copyleft/gpl.html.
|
||||
**
|
||||
**
|
||||
** $QT_END_LICENSE$
|
||||
**
|
||||
****************************************************************************/
|
||||
|
||||
|
||||
import QtQuick 2.5
|
||||
|
||||
Item {
|
||||
/*
|
||||
Slides can only be instantiated as a direct child of a Presentation {} as they rely on
|
||||
several properties there.
|
||||
*/
|
||||
|
||||
id: slide
|
||||
|
||||
property bool isSlide: true;
|
||||
|
||||
property bool delayPoints: false;
|
||||
property int _pointCounter: 0;
|
||||
function _advance() {
|
||||
if (!parent.allowDelay)
|
||||
return false;
|
||||
|
||||
_pointCounter = _pointCounter + 1;
|
||||
if (_pointCounter < content.length)
|
||||
return true;
|
||||
_pointCounter = 0;
|
||||
return false;
|
||||
}
|
||||
|
||||
property string title;
|
||||
property variant content: []
|
||||
property string centeredText
|
||||
property string writeInText;
|
||||
property string notes;
|
||||
|
||||
property real fontSize: parent.height * 0.05
|
||||
property real fontScale: 1
|
||||
|
||||
property real baseFontSize: fontSize * fontScale
|
||||
property real titleFontSize: fontSize * 1.2 * fontScale
|
||||
property real bulletSpacing: 1
|
||||
|
||||
property real contentWidth: width
|
||||
|
||||
// Define the slide to be the "content area"
|
||||
x: parent.width * 0.05
|
||||
y: parent.height * 0.2
|
||||
width: parent.width * 0.9
|
||||
height: parent.height * 0.7
|
||||
|
||||
property real masterWidth: parent.width
|
||||
property real masterHeight: parent.height
|
||||
|
||||
property color titleColor: parent.titleColor;
|
||||
property color textColor: parent.textColor;
|
||||
property string fontFamily: parent.fontFamily;
|
||||
property int textFormat: Text.PlainText
|
||||
|
||||
visible: false
|
||||
|
||||
Text {
|
||||
id: titleText
|
||||
font.pixelSize: titleFontSize
|
||||
text: title;
|
||||
anchors.horizontalCenter: parent.horizontalCenter
|
||||
anchors.bottom: parent.top
|
||||
anchors.bottomMargin: parent.fontSize * 1.5
|
||||
font.bold: true;
|
||||
font.family: slide.fontFamily
|
||||
color: slide.titleColor
|
||||
horizontalAlignment: Text.Center
|
||||
z: 1
|
||||
}
|
||||
|
||||
Text {
|
||||
id: centeredId
|
||||
width: parent.width
|
||||
anchors.centerIn: parent
|
||||
anchors.verticalCenterOffset: - parent.y / 3
|
||||
text: centeredText
|
||||
horizontalAlignment: Text.Center
|
||||
font.pixelSize: baseFontSize
|
||||
font.family: slide.fontFamily
|
||||
color: slide.textColor
|
||||
wrapMode: Text.Wrap
|
||||
}
|
||||
|
||||
Text {
|
||||
id: writeInTextId
|
||||
property int length;
|
||||
font.family: slide.fontFamily
|
||||
font.pixelSize: baseFontSize
|
||||
color: slide.textColor
|
||||
|
||||
anchors.fill: parent;
|
||||
wrapMode: Text.Wrap
|
||||
|
||||
text: slide.writeInText.substring(0, length);
|
||||
|
||||
NumberAnimation on length {
|
||||
from: 0;
|
||||
to: slide.writeInText.length;
|
||||
duration: slide.writeInText.length * 30;
|
||||
running: slide.visible && parent.visible && slide.writeInText.length > 0
|
||||
}
|
||||
|
||||
visible: slide.writeInText != undefined;
|
||||
}
|
||||
|
||||
|
||||
Column {
|
||||
id: contentId
|
||||
anchors.fill: parent
|
||||
|
||||
Repeater {
|
||||
model: content.length
|
||||
|
||||
Row {
|
||||
id: row
|
||||
|
||||
function decideIndentLevel(s) { return s.charAt(0) == " " ? 1 + decideIndentLevel(s.substring(1)) : 0 }
|
||||
property int indentLevel: decideIndentLevel(content[index])
|
||||
property int nextIndentLevel: index < content.length - 1 ? decideIndentLevel(content[index+1]) : 0
|
||||
property real indentFactor: (10 - row.indentLevel * 2) / 10;
|
||||
|
||||
height: text.height + (nextIndentLevel == 0 ? 1 : 0.3) * slide.baseFontSize * slide.bulletSpacing
|
||||
x: slide.baseFontSize * indentLevel
|
||||
visible: (!slide.parent.allowDelay || !delayPoints) || index <= _pointCounter
|
||||
|
||||
Rectangle {
|
||||
id: dot
|
||||
anchors.baseline: text.baseline
|
||||
anchors.baselineOffset: -text.font.pixelSize / 2
|
||||
width: text.font.pixelSize / 3
|
||||
height: text.font.pixelSize / 3
|
||||
color: slide.textColor
|
||||
radius: width / 2
|
||||
opacity: text.text.length == 0 ? 0 : 1
|
||||
}
|
||||
|
||||
Item {
|
||||
id: space
|
||||
width: dot.width * 1.5
|
||||
height: 1
|
||||
}
|
||||
|
||||
Text {
|
||||
id: text
|
||||
width: slide.contentWidth - parent.x - dot.width - space.width
|
||||
font.pixelSize: baseFontSize * row.indentFactor
|
||||
text: content[index]
|
||||
textFormat: slide.textFormat
|
||||
wrapMode: Text.WordWrap
|
||||
color: slide.textColor
|
||||
horizontalAlignment: Text.AlignLeft
|
||||
font.family: slide.fontFamily
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
29
etc/calamares/qml/calamares/slideshow/SlideCounter.qml
Normal file
|
|
@ -0,0 +1,29 @@
|
|||
/* === This file is part of Calamares - <https://calamares.io> ===
|
||||
*
|
||||
* SPDX-FileCopyrightText: 2018 Adriaan de Groot <groot@kde.org>
|
||||
* SPDX-License-Identifier: GPL-3.0-or-later
|
||||
*
|
||||
* Calamares is Free Software: see the License-Identifier above.
|
||||
*
|
||||
*/
|
||||
|
||||
/* This control just shows a (non-translated) count of the slides
|
||||
* in the slideshow in the format "n / total".
|
||||
*/
|
||||
|
||||
import QtQuick 2.5;
|
||||
|
||||
Rectangle {
|
||||
id: slideCounter
|
||||
anchors.right: parent.right
|
||||
anchors.bottom: parent.bottom
|
||||
width: 100
|
||||
height: 50
|
||||
|
||||
Text {
|
||||
id: slideCounterText
|
||||
anchors.centerIn: parent
|
||||
//: slide counter, %1 of %2 (numeric)
|
||||
text: qsTr("%L1 / %L2").arg(parent.parent.currentSlide + 1).arg(parent.parent.slides.length)
|
||||
}
|
||||
}
|
||||
10
etc/calamares/qml/calamares/slideshow/qmldir
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
module calamares.slideshow
|
||||
|
||||
Presentation 1.0 Presentation.qml
|
||||
Slide 1.0 Slide.qml
|
||||
|
||||
NavButton 1.0 NavButton.qml
|
||||
ForwardButton 1.0 ForwardButton.qml
|
||||
BackButton 1.0 BackButton.qml
|
||||
|
||||
SlideCounter 1.0 SlideCounter.qml
|
||||
2
etc/calamares/qml/calamares/slideshow/qmldir.license
Normal file
|
|
@ -0,0 +1,2 @@
|
|||
SPDX-FileCopyrightText: no
|
||||
SPDX-License-Identifier: CC0-1.0
|
||||
69
etc/calamares/settings.conf
Normal file
|
|
@ -0,0 +1,69 @@
|
|||
# 4rch custom settings
|
||||
# SPDX-FileCopyrightText: no
|
||||
# SPDX-License-Identifier: CC0-1.0
|
||||
#
|
||||
# Configuration file for Calamares
|
||||
#
|
||||
---
|
||||
|
||||
modules-search: [ local ]
|
||||
|
||||
instances:
|
||||
- id: mvezmkinit
|
||||
module: shellprocess
|
||||
config: shellprocess-mvezmkinit.conf
|
||||
- id: ezfinish
|
||||
module: shellprocess
|
||||
config: shellprocess-ezfinish.conf
|
||||
|
||||
sequence:
|
||||
- show:
|
||||
- welcome
|
||||
- locale
|
||||
- keyboard
|
||||
- partition
|
||||
- users
|
||||
- summary
|
||||
- exec:
|
||||
- partition
|
||||
- mount
|
||||
- unpackfs
|
||||
- machineid
|
||||
- fstab
|
||||
- locale
|
||||
- keyboard
|
||||
- localecfg
|
||||
- luksbootkeyfile
|
||||
- luksopenswaphookcfg
|
||||
- removeuser
|
||||
- users
|
||||
- networkcfg
|
||||
- hwclock
|
||||
- services-systemd
|
||||
- packages
|
||||
- displaymanager
|
||||
- shellprocess@mvezmkinit
|
||||
- initcpiocfg
|
||||
- initcpio
|
||||
- grubcfg
|
||||
- bootloader
|
||||
- shellprocess@ezfinish
|
||||
- umount
|
||||
- show:
|
||||
- finished
|
||||
|
||||
branding: ezarcher
|
||||
|
||||
prompt-install: true
|
||||
|
||||
dont-chroot: false
|
||||
|
||||
oem-setup: false
|
||||
|
||||
disable-cancel: false
|
||||
|
||||
disable-cancel-during-exec: false
|
||||
|
||||
hide-back-and-next-during-exec: false
|
||||
|
||||
quit-at-end: false
|
||||
60
etc/default/grub
Normal file
|
|
@ -0,0 +1,60 @@
|
|||
# GRUB boot loader configuration
|
||||
|
||||
GRUB_DEFAULT=0
|
||||
GRUB_TIMEOUT=5
|
||||
GRUB_DISTRIBUTOR="Arch"
|
||||
GRUB_CMDLINE_LINUX_DEFAULT="loglevel=3 quiet"
|
||||
GRUB_CMDLINE_LINUX=""
|
||||
|
||||
# Preload both GPT and MBR modules so that they are not missed
|
||||
GRUB_PRELOAD_MODULES="part_gpt part_msdos"
|
||||
|
||||
# Uncomment to enable booting from LUKS encrypted devices
|
||||
#GRUB_ENABLE_CRYPTODISK=y
|
||||
|
||||
# Set to 'countdown' or 'hidden' to change timeout behavior,
|
||||
# press ESC key to display menu.
|
||||
GRUB_TIMEOUT_STYLE=menu
|
||||
|
||||
# Uncomment to use basic console
|
||||
GRUB_TERMINAL_INPUT=console
|
||||
|
||||
# Uncomment to disable graphical terminal
|
||||
#GRUB_TERMINAL_OUTPUT=console
|
||||
|
||||
# The resolution used on graphical terminal
|
||||
# note that you can use only modes which your graphic card supports via VBE
|
||||
# you can see them in real GRUB with the command `vbeinfo'
|
||||
GRUB_GFXMODE=auto
|
||||
|
||||
# Uncomment to allow the kernel use the same resolution used by grub
|
||||
GRUB_GFXPAYLOAD_LINUX=keep
|
||||
|
||||
# Uncomment if you want GRUB to pass to the Linux kernel the old parameter
|
||||
# format "root=/dev/xxx" instead of "root=/dev/disk/by-uuid/xxx"
|
||||
#GRUB_DISABLE_LINUX_UUID=true
|
||||
|
||||
# Uncomment to disable generation of recovery mode menu entries
|
||||
GRUB_DISABLE_RECOVERY=true
|
||||
|
||||
# Uncomment and set to the desired menu colors. Used by normal and wallpaper
|
||||
# modes only. Entries specified as foreground/background.
|
||||
#GRUB_COLOR_NORMAL="light-blue/black"
|
||||
#GRUB_COLOR_HIGHLIGHT="light-cyan/blue"
|
||||
|
||||
# Uncomment one of them for the gfx desired, a image background or a gfxtheme
|
||||
#GRUB_BACKGROUND="/path/to/wallpaper"
|
||||
#GRUB_THEME="/path/to/gfxtheme"
|
||||
|
||||
# Uncomment to get a beep at GRUB start
|
||||
#GRUB_INIT_TUNE="480 440 1"
|
||||
|
||||
# Uncomment to make GRUB remember the last selection. This requires
|
||||
# setting 'GRUB_DEFAULT=saved' above.
|
||||
#GRUB_SAVEDEFAULT=true
|
||||
|
||||
# Uncomment to disable submenus in boot menu
|
||||
#GRUB_DISABLE_SUBMENU=y
|
||||
|
||||
# Enable os-prober
|
||||
GRUB_DISABLE_OS_PROBER=false
|
||||
67
etc/ezmkinitcpio.conf
Normal file
|
|
@ -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 autodetect modconf block keyboard resume filesystems fsck)
|
||||
|
||||
# COMPRESSION
|
||||
# Use this to compress the initramfs image. By default, zstd compression
|
||||
# is used. Use 'cat' to create an uncompressed image.
|
||||
COMPRESSION="zstd"
|
||||
#COMPRESSION="gzip"
|
||||
#COMPRESSION="bzip2"
|
||||
#COMPRESSION="lzma"
|
||||
#COMPRESSION="xz"
|
||||
#COMPRESSION="lzop"
|
||||
#COMPRESSION="lz4"
|
||||
|
||||
# COMPRESSION_OPTIONS
|
||||
# Additional options for the compressor
|
||||
#COMPRESSION_OPTIONS=()
|
||||
511
etc/locale.gen
Normal file
|
|
@ -0,0 +1,511 @@
|
|||
# Configuration file for locale-gen
|
||||
#
|
||||
# lists of locales that are to be generated by the locale-gen command.
|
||||
#
|
||||
# Each line is of the form:
|
||||
#
|
||||
# <locale> <charset>
|
||||
#
|
||||
# where <locale> is one of the locales given in /usr/share/i18n/locales
|
||||
# and <charset> is one of the character sets listed in /usr/share/i18n/charmaps
|
||||
#
|
||||
# Examples:
|
||||
# en_US ISO-8859-1
|
||||
# en_US.UTF-8 UTF-8
|
||||
# de_DE ISO-8859-1
|
||||
# de_DE@euro ISO-8859-15
|
||||
#
|
||||
# The locale-gen command will generate all the locales,
|
||||
# placing them in /usr/lib/locale.
|
||||
#
|
||||
# A list of supported locales is included in this file.
|
||||
# Uncomment the ones you need.
|
||||
#
|
||||
#aa_DJ.UTF-8 UTF-8
|
||||
#aa_DJ ISO-8859-1
|
||||
#aa_ER UTF-8
|
||||
#aa_ER@saaho UTF-8
|
||||
#aa_ET UTF-8
|
||||
#af_ZA.UTF-8 UTF-8
|
||||
#af_ZA ISO-8859-1
|
||||
#agr_PE UTF-8
|
||||
#ak_GH UTF-8
|
||||
#am_ET UTF-8
|
||||
#an_ES.UTF-8 UTF-8
|
||||
#an_ES ISO-8859-15
|
||||
#anp_IN UTF-8
|
||||
#ar_AE.UTF-8 UTF-8
|
||||
#ar_AE ISO-8859-6
|
||||
#ar_BH.UTF-8 UTF-8
|
||||
#ar_BH ISO-8859-6
|
||||
#ar_DZ.UTF-8 UTF-8
|
||||
#ar_DZ ISO-8859-6
|
||||
#ar_EG.UTF-8 UTF-8
|
||||
#ar_EG ISO-8859-6
|
||||
#ar_IN UTF-8
|
||||
#ar_IQ.UTF-8 UTF-8
|
||||
#ar_IQ ISO-8859-6
|
||||
#ar_JO.UTF-8 UTF-8
|
||||
#ar_JO ISO-8859-6
|
||||
#ar_KW.UTF-8 UTF-8
|
||||
#ar_KW ISO-8859-6
|
||||
#ar_LB.UTF-8 UTF-8
|
||||
#ar_LB ISO-8859-6
|
||||
#ar_LY.UTF-8 UTF-8
|
||||
#ar_LY ISO-8859-6
|
||||
#ar_MA.UTF-8 UTF-8
|
||||
#ar_MA ISO-8859-6
|
||||
#ar_OM.UTF-8 UTF-8
|
||||
#ar_OM ISO-8859-6
|
||||
#ar_QA.UTF-8 UTF-8
|
||||
#ar_QA ISO-8859-6
|
||||
#ar_SA.UTF-8 UTF-8
|
||||
#ar_SA ISO-8859-6
|
||||
#ar_SD.UTF-8 UTF-8
|
||||
#ar_SD ISO-8859-6
|
||||
#ar_SS UTF-8
|
||||
#ar_SY.UTF-8 UTF-8
|
||||
#ar_SY ISO-8859-6
|
||||
#ar_TN.UTF-8 UTF-8
|
||||
#ar_TN ISO-8859-6
|
||||
#ar_YE.UTF-8 UTF-8
|
||||
#ar_YE ISO-8859-6
|
||||
#ayc_PE UTF-8
|
||||
#az_AZ UTF-8
|
||||
#az_IR UTF-8
|
||||
#as_IN UTF-8
|
||||
#ast_ES.UTF-8 UTF-8
|
||||
#ast_ES ISO-8859-15
|
||||
#be_BY.UTF-8 UTF-8
|
||||
#be_BY CP1251
|
||||
#be_BY@latin UTF-8
|
||||
#bem_ZM UTF-8
|
||||
#ber_DZ UTF-8
|
||||
#ber_MA UTF-8
|
||||
#bg_BG.UTF-8 UTF-8
|
||||
#bg_BG CP1251
|
||||
#bhb_IN.UTF-8 UTF-8
|
||||
#bho_IN UTF-8
|
||||
#bho_NP UTF-8
|
||||
#bi_VU UTF-8
|
||||
#bn_BD UTF-8
|
||||
#bn_IN UTF-8
|
||||
#bo_CN UTF-8
|
||||
#bo_IN UTF-8
|
||||
#br_FR.UTF-8 UTF-8
|
||||
#br_FR ISO-8859-1
|
||||
#br_FR@euro ISO-8859-15
|
||||
#brx_IN UTF-8
|
||||
#bs_BA.UTF-8 UTF-8
|
||||
#bs_BA ISO-8859-2
|
||||
#byn_ER UTF-8
|
||||
#ca_AD.UTF-8 UTF-8
|
||||
#ca_AD ISO-8859-15
|
||||
#ca_ES.UTF-8 UTF-8
|
||||
#ca_ES ISO-8859-1
|
||||
#ca_ES@euro ISO-8859-15
|
||||
#ca_ES@valencia UTF-8
|
||||
#ca_FR.UTF-8 UTF-8
|
||||
#ca_FR ISO-8859-15
|
||||
#ca_IT.UTF-8 UTF-8
|
||||
#ca_IT ISO-8859-15
|
||||
#ce_RU UTF-8
|
||||
#chr_US UTF-8
|
||||
#ckb_IQ UTF-8
|
||||
#cmn_TW UTF-8
|
||||
#crh_UA UTF-8
|
||||
#cs_CZ.UTF-8 UTF-8
|
||||
#cs_CZ ISO-8859-2
|
||||
#csb_PL UTF-8
|
||||
#cv_RU UTF-8
|
||||
#cy_GB.UTF-8 UTF-8
|
||||
#cy_GB ISO-8859-14
|
||||
#da_DK.UTF-8 UTF-8
|
||||
#da_DK ISO-8859-1
|
||||
#de_AT.UTF-8 UTF-8
|
||||
#de_AT ISO-8859-1
|
||||
#de_AT@euro ISO-8859-15
|
||||
#de_BE.UTF-8 UTF-8
|
||||
#de_BE ISO-8859-1
|
||||
#de_BE@euro ISO-8859-15
|
||||
#de_CH.UTF-8 UTF-8
|
||||
#de_CH ISO-8859-1
|
||||
#de_DE.UTF-8 UTF-8
|
||||
#de_DE ISO-8859-1
|
||||
#de_DE@euro ISO-8859-15
|
||||
#de_IT.UTF-8 UTF-8
|
||||
#de_IT ISO-8859-1
|
||||
#de_LI.UTF-8 UTF-8
|
||||
#de_LU.UTF-8 UTF-8
|
||||
#de_LU ISO-8859-1
|
||||
#de_LU@euro ISO-8859-15
|
||||
#doi_IN UTF-8
|
||||
#dsb_DE UTF-8
|
||||
#dv_MV UTF-8
|
||||
#dz_BT UTF-8
|
||||
#el_GR.UTF-8 UTF-8
|
||||
#el_GR ISO-8859-7
|
||||
#el_GR@euro ISO-8859-7
|
||||
#el_CY.UTF-8 UTF-8
|
||||
#el_CY ISO-8859-7
|
||||
#en_AG UTF-8
|
||||
#en_AU.UTF-8 UTF-8
|
||||
#en_AU ISO-8859-1
|
||||
#en_BW.UTF-8 UTF-8
|
||||
#en_BW ISO-8859-1
|
||||
#en_CA.UTF-8 UTF-8
|
||||
#en_CA ISO-8859-1
|
||||
#en_DK.UTF-8 UTF-8
|
||||
#en_DK ISO-8859-1
|
||||
#en_GB.UTF-8 UTF-8
|
||||
#en_GB ISO-8859-1
|
||||
#en_HK.UTF-8 UTF-8
|
||||
#en_HK ISO-8859-1
|
||||
#en_IE.UTF-8 UTF-8
|
||||
#en_IE ISO-8859-1
|
||||
#en_IE@euro ISO-8859-15
|
||||
#en_IL UTF-8
|
||||
#en_IN UTF-8
|
||||
#en_NG UTF-8
|
||||
#en_NZ.UTF-8 UTF-8
|
||||
#en_NZ ISO-8859-1
|
||||
#en_PH.UTF-8 UTF-8
|
||||
#en_PH ISO-8859-1
|
||||
#en_SC.UTF-8 UTF-8
|
||||
#en_SG.UTF-8 UTF-8
|
||||
#en_SG ISO-8859-1
|
||||
#en_US.UTF-8 UTF-8
|
||||
#en_US ISO-8859-1
|
||||
#en_ZA.UTF-8 UTF-8
|
||||
#en_ZA ISO-8859-1
|
||||
#en_ZM UTF-8
|
||||
#en_ZW.UTF-8 UTF-8
|
||||
#en_ZW ISO-8859-1
|
||||
#eo UTF-8
|
||||
#es_AR.UTF-8 UTF-8
|
||||
#es_AR ISO-8859-1
|
||||
#es_BO.UTF-8 UTF-8
|
||||
#es_BO ISO-8859-1
|
||||
#es_CL.UTF-8 UTF-8
|
||||
#es_CL ISO-8859-1
|
||||
#es_CO.UTF-8 UTF-8
|
||||
#es_CO ISO-8859-1
|
||||
#es_CR.UTF-8 UTF-8
|
||||
#es_CR ISO-8859-1
|
||||
#es_CU UTF-8
|
||||
#es_DO.UTF-8 UTF-8
|
||||
#es_DO ISO-8859-1
|
||||
#es_EC.UTF-8 UTF-8
|
||||
#es_EC ISO-8859-1
|
||||
#es_ES.UTF-8 UTF-8
|
||||
#es_ES ISO-8859-1
|
||||
#es_ES@euro ISO-8859-15
|
||||
#es_GT.UTF-8 UTF-8
|
||||
#es_GT ISO-8859-1
|
||||
#es_HN.UTF-8 UTF-8
|
||||
#es_HN ISO-8859-1
|
||||
#es_MX.UTF-8 UTF-8
|
||||
#es_MX ISO-8859-1
|
||||
#es_NI.UTF-8 UTF-8
|
||||
#es_NI ISO-8859-1
|
||||
#es_PA.UTF-8 UTF-8
|
||||
#es_PA ISO-8859-1
|
||||
#es_PE.UTF-8 UTF-8
|
||||
#es_PE ISO-8859-1
|
||||
#es_PR.UTF-8 UTF-8
|
||||
#es_PR ISO-8859-1
|
||||
#es_PY.UTF-8 UTF-8
|
||||
#es_PY ISO-8859-1
|
||||
#es_SV.UTF-8 UTF-8
|
||||
#es_SV ISO-8859-1
|
||||
#es_US.UTF-8 UTF-8
|
||||
#es_US ISO-8859-1
|
||||
#es_UY.UTF-8 UTF-8
|
||||
#es_UY ISO-8859-1
|
||||
#es_VE.UTF-8 UTF-8
|
||||
#es_VE ISO-8859-1
|
||||
#et_EE.UTF-8 UTF-8
|
||||
#et_EE ISO-8859-1
|
||||
#et_EE.ISO-8859-15 ISO-8859-15
|
||||
#eu_ES.UTF-8 UTF-8
|
||||
#eu_ES ISO-8859-1
|
||||
#eu_ES@euro ISO-8859-15
|
||||
#fa_IR UTF-8
|
||||
#ff_SN UTF-8
|
||||
#fi_FI.UTF-8 UTF-8
|
||||
#fi_FI ISO-8859-1
|
||||
#fi_FI@euro ISO-8859-15
|
||||
#fil_PH UTF-8
|
||||
#fo_FO.UTF-8 UTF-8
|
||||
#fo_FO ISO-8859-1
|
||||
#fr_BE.UTF-8 UTF-8
|
||||
#fr_BE ISO-8859-1
|
||||
#fr_BE@euro ISO-8859-15
|
||||
#fr_CA.UTF-8 UTF-8
|
||||
#fr_CA ISO-8859-1
|
||||
#fr_CH.UTF-8 UTF-8
|
||||
#fr_CH ISO-8859-1
|
||||
#fr_FR.UTF-8 UTF-8
|
||||
#fr_FR ISO-8859-1
|
||||
#fr_FR@euro ISO-8859-15
|
||||
#fr_LU.UTF-8 UTF-8
|
||||
#fr_LU ISO-8859-1
|
||||
#fr_LU@euro ISO-8859-15
|
||||
#fur_IT UTF-8
|
||||
#fy_NL UTF-8
|
||||
#fy_DE UTF-8
|
||||
#ga_IE.UTF-8 UTF-8
|
||||
#ga_IE ISO-8859-1
|
||||
#ga_IE@euro ISO-8859-15
|
||||
#gd_GB.UTF-8 UTF-8
|
||||
#gd_GB ISO-8859-15
|
||||
#gez_ER UTF-8
|
||||
#gez_ER@abegede UTF-8
|
||||
#gez_ET UTF-8
|
||||
#gez_ET@abegede UTF-8
|
||||
#gl_ES.UTF-8 UTF-8
|
||||
#gl_ES ISO-8859-1
|
||||
#gl_ES@euro ISO-8859-15
|
||||
#gu_IN UTF-8
|
||||
#gv_GB.UTF-8 UTF-8
|
||||
#gv_GB ISO-8859-1
|
||||
#ha_NG UTF-8
|
||||
#hak_TW UTF-8
|
||||
#he_IL.UTF-8 UTF-8
|
||||
#he_IL ISO-8859-8
|
||||
#hi_IN UTF-8
|
||||
#hif_FJ UTF-8
|
||||
#hne_IN UTF-8
|
||||
#hr_HR.UTF-8 UTF-8
|
||||
#hr_HR ISO-8859-2
|
||||
#hsb_DE ISO-8859-2
|
||||
#hsb_DE.UTF-8 UTF-8
|
||||
#ht_HT UTF-8
|
||||
#hu_HU.UTF-8 UTF-8
|
||||
#hu_HU ISO-8859-2
|
||||
#hy_AM UTF-8
|
||||
#hy_AM.ARMSCII-8 ARMSCII-8
|
||||
#ia_FR UTF-8
|
||||
#id_ID.UTF-8 UTF-8
|
||||
#id_ID ISO-8859-1
|
||||
#ig_NG UTF-8
|
||||
#ik_CA UTF-8
|
||||
#is_IS.UTF-8 UTF-8
|
||||
#is_IS ISO-8859-1
|
||||
#it_CH.UTF-8 UTF-8
|
||||
#it_CH ISO-8859-1
|
||||
#it_IT.UTF-8 UTF-8
|
||||
#it_IT ISO-8859-1
|
||||
#it_IT@euro ISO-8859-15
|
||||
#iu_CA UTF-8
|
||||
#ja_JP.EUC-JP EUC-JP
|
||||
#ja_JP.UTF-8 UTF-8
|
||||
#ka_GE.UTF-8 UTF-8
|
||||
#ka_GE GEORGIAN-PS
|
||||
#kab_DZ UTF-8
|
||||
#kk_KZ.UTF-8 UTF-8
|
||||
#kk_KZ PT154
|
||||
#kl_GL.UTF-8 UTF-8
|
||||
#kl_GL ISO-8859-1
|
||||
#km_KH UTF-8
|
||||
#kn_IN UTF-8
|
||||
#ko_KR.EUC-KR EUC-KR
|
||||
#ko_KR.UTF-8 UTF-8
|
||||
#kok_IN UTF-8
|
||||
#ks_IN UTF-8
|
||||
#ks_IN@devanagari UTF-8
|
||||
#ku_TR.UTF-8 UTF-8
|
||||
#ku_TR ISO-8859-9
|
||||
#kw_GB.UTF-8 UTF-8
|
||||
#kw_GB ISO-8859-1
|
||||
#ky_KG UTF-8
|
||||
#lb_LU UTF-8
|
||||
#lg_UG.UTF-8 UTF-8
|
||||
#lg_UG ISO-8859-10
|
||||
#li_BE UTF-8
|
||||
#li_NL UTF-8
|
||||
#lij_IT UTF-8
|
||||
#ln_CD UTF-8
|
||||
#lo_LA UTF-8
|
||||
#lt_LT.UTF-8 UTF-8
|
||||
#lt_LT ISO-8859-13
|
||||
#lv_LV.UTF-8 UTF-8
|
||||
#lv_LV ISO-8859-13
|
||||
#lzh_TW UTF-8
|
||||
#mag_IN UTF-8
|
||||
#mai_IN UTF-8
|
||||
#mai_NP UTF-8
|
||||
#mfe_MU UTF-8
|
||||
#mg_MG.UTF-8 UTF-8
|
||||
#mg_MG ISO-8859-15
|
||||
#mhr_RU UTF-8
|
||||
#mi_NZ.UTF-8 UTF-8
|
||||
#mi_NZ ISO-8859-13
|
||||
#miq_NI UTF-8
|
||||
#mjw_IN UTF-8
|
||||
#mk_MK.UTF-8 UTF-8
|
||||
#mk_MK ISO-8859-5
|
||||
#ml_IN UTF-8
|
||||
#mn_MN UTF-8
|
||||
#mni_IN UTF-8
|
||||
#mnw_MM UTF-8
|
||||
#mr_IN UTF-8
|
||||
#ms_MY.UTF-8 UTF-8
|
||||
#ms_MY ISO-8859-1
|
||||
#mt_MT.UTF-8 UTF-8
|
||||
#mt_MT ISO-8859-3
|
||||
#my_MM UTF-8
|
||||
#nan_TW UTF-8
|
||||
#nan_TW@latin UTF-8
|
||||
#nb_NO.UTF-8 UTF-8
|
||||
#nb_NO ISO-8859-1
|
||||
#nds_DE UTF-8
|
||||
#nds_NL UTF-8
|
||||
#ne_NP UTF-8
|
||||
#nhn_MX UTF-8
|
||||
#niu_NU UTF-8
|
||||
#niu_NZ UTF-8
|
||||
#nl_AW UTF-8
|
||||
#nl_BE.UTF-8 UTF-8
|
||||
#nl_BE ISO-8859-1
|
||||
#nl_BE@euro ISO-8859-15
|
||||
#nl_NL.UTF-8 UTF-8
|
||||
#nl_NL ISO-8859-1
|
||||
#nl_NL@euro ISO-8859-15
|
||||
#nn_NO.UTF-8 UTF-8
|
||||
#nn_NO ISO-8859-1
|
||||
#nr_ZA UTF-8
|
||||
#nso_ZA UTF-8
|
||||
#oc_FR.UTF-8 UTF-8
|
||||
#oc_FR ISO-8859-1
|
||||
#om_ET UTF-8
|
||||
#om_KE.UTF-8 UTF-8
|
||||
#om_KE ISO-8859-1
|
||||
#or_IN UTF-8
|
||||
#os_RU UTF-8
|
||||
#pa_IN UTF-8
|
||||
#pa_PK UTF-8
|
||||
#pap_AW UTF-8
|
||||
#pap_CW UTF-8
|
||||
#pl_PL.UTF-8 UTF-8
|
||||
#pl_PL ISO-8859-2
|
||||
#ps_AF UTF-8
|
||||
#pt_BR.UTF-8 UTF-8
|
||||
#pt_BR ISO-8859-1
|
||||
#pt_PT.UTF-8 UTF-8
|
||||
#pt_PT ISO-8859-1
|
||||
#pt_PT@euro ISO-8859-15
|
||||
#quz_PE UTF-8
|
||||
#raj_IN UTF-8
|
||||
#ro_RO.UTF-8 UTF-8
|
||||
#ro_RO ISO-8859-2
|
||||
#ru_RU.KOI8-R KOI8-R
|
||||
#ru_RU.UTF-8 UTF-8
|
||||
#ru_RU ISO-8859-5
|
||||
#ru_UA.UTF-8 UTF-8
|
||||
#ru_UA KOI8-U
|
||||
#rw_RW UTF-8
|
||||
#sa_IN UTF-8
|
||||
#sah_RU UTF-8
|
||||
#sat_IN UTF-8
|
||||
#sc_IT UTF-8
|
||||
#sd_IN UTF-8
|
||||
#sd_IN@devanagari UTF-8
|
||||
#se_NO UTF-8
|
||||
#sgs_LT UTF-8
|
||||
#shn_MM UTF-8
|
||||
#shs_CA UTF-8
|
||||
#si_LK UTF-8
|
||||
#sid_ET UTF-8
|
||||
#sk_SK.UTF-8 UTF-8
|
||||
#sk_SK ISO-8859-2
|
||||
#sl_SI.UTF-8 UTF-8
|
||||
#sl_SI ISO-8859-2
|
||||
#sm_WS UTF-8
|
||||
#so_DJ.UTF-8 UTF-8
|
||||
#so_DJ ISO-8859-1
|
||||
#so_ET UTF-8
|
||||
#so_KE.UTF-8 UTF-8
|
||||
#so_KE ISO-8859-1
|
||||
#so_SO.UTF-8 UTF-8
|
||||
#so_SO ISO-8859-1
|
||||
#sq_AL.UTF-8 UTF-8
|
||||
#sq_AL ISO-8859-1
|
||||
#sq_MK UTF-8
|
||||
#sr_ME UTF-8
|
||||
#sr_RS UTF-8
|
||||
#sr_RS@latin UTF-8
|
||||
#ss_ZA UTF-8
|
||||
#st_ZA.UTF-8 UTF-8
|
||||
#st_ZA ISO-8859-1
|
||||
#sv_FI.UTF-8 UTF-8
|
||||
#sv_FI ISO-8859-1
|
||||
#sv_FI@euro ISO-8859-15
|
||||
#sv_SE.UTF-8 UTF-8
|
||||
#sv_SE ISO-8859-1
|
||||
#sw_KE UTF-8
|
||||
#sw_TZ UTF-8
|
||||
#szl_PL UTF-8
|
||||
#ta_IN UTF-8
|
||||
#ta_LK UTF-8
|
||||
#tcy_IN.UTF-8 UTF-8
|
||||
#te_IN UTF-8
|
||||
#tg_TJ.UTF-8 UTF-8
|
||||
#tg_TJ KOI8-T
|
||||
#th_TH.UTF-8 UTF-8
|
||||
#th_TH TIS-620
|
||||
#the_NP UTF-8
|
||||
#ti_ER UTF-8
|
||||
#ti_ET UTF-8
|
||||
#tig_ER UTF-8
|
||||
#tk_TM UTF-8
|
||||
#tl_PH.UTF-8 UTF-8
|
||||
#tl_PH ISO-8859-1
|
||||
#tn_ZA UTF-8
|
||||
#to_TO UTF-8
|
||||
#tpi_PG UTF-8
|
||||
#tr_CY.UTF-8 UTF-8
|
||||
#tr_CY ISO-8859-9
|
||||
#tr_TR.UTF-8 UTF-8
|
||||
#tr_TR ISO-8859-9
|
||||
#ts_ZA UTF-8
|
||||
#tt_RU UTF-8
|
||||
#tt_RU@iqtelif UTF-8
|
||||
#ug_CN UTF-8
|
||||
#uk_UA.UTF-8 UTF-8
|
||||
#uk_UA KOI8-U
|
||||
#unm_US UTF-8
|
||||
#ur_IN UTF-8
|
||||
#ur_PK UTF-8
|
||||
#uz_UZ.UTF-8 UTF-8
|
||||
#uz_UZ ISO-8859-1
|
||||
#uz_UZ@cyrillic UTF-8
|
||||
#ve_ZA UTF-8
|
||||
#vi_VN UTF-8
|
||||
#wa_BE ISO-8859-1
|
||||
#wa_BE@euro ISO-8859-15
|
||||
#wa_BE.UTF-8 UTF-8
|
||||
#wae_CH UTF-8
|
||||
#wal_ET UTF-8
|
||||
#wo_SN UTF-8
|
||||
#xh_ZA.UTF-8 UTF-8
|
||||
#xh_ZA ISO-8859-1
|
||||
#yi_US.UTF-8 UTF-8
|
||||
#yi_US CP1255
|
||||
#yo_NG UTF-8
|
||||
#yue_HK UTF-8
|
||||
#yuw_PG UTF-8
|
||||
#zh_CN.GB18030 GB18030
|
||||
#zh_CN.GBK GBK
|
||||
#zh_CN.UTF-8 UTF-8
|
||||
#zh_CN GB2312
|
||||
#zh_HK.UTF-8 UTF-8
|
||||
#zh_HK BIG5-HKSCS
|
||||
#zh_SG.UTF-8 UTF-8
|
||||
#zh_SG.GBK GBK
|
||||
#zh_SG GB2312
|
||||
#zh_TW.EUC-TW EUC-TW
|
||||
#zh_TW.UTF-8 UTF-8
|
||||
#zh_TW BIG5
|
||||
#zu_ZA.UTF-8 UTF-8
|
||||
#zu_ZA ISO-8859-1
|
||||
67
etc/mkinitcpio.conf
Normal file
|
|
@ -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=()
|
||||
14
etc/mkinitcpio.d/ezmkinit
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
# mkinitcpio preset file for the 'linux' package
|
||||
|
||||
ALL_config="/etc/mkinitcpio.conf"
|
||||
ALL_kver="/boot/vmlinuz-linux"
|
||||
|
||||
PRESETS=('default' 'fallback')
|
||||
|
||||
#default_config="/etc/mkinitcpio.conf"
|
||||
default_image="/boot/initramfs-linux.img"
|
||||
#default_options=""
|
||||
|
||||
#fallback_config="/etc/mkinitcpio.conf"
|
||||
fallback_image="/boot/initramfs-linux-fallback.img"
|
||||
fallback_options="-S autodetect"
|
||||
103
etc/pacman.conf
Normal file
|
|
@ -0,0 +1,103 @@
|
|||
#
|
||||
# /etc/pacman.conf
|
||||
#
|
||||
# See the pacman.conf(5) manpage for option and repository directives
|
||||
#
|
||||
# SPDX-License-Identifier: GPL-3.0-or-later
|
||||
|
||||
#
|
||||
# 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 = 3
|
||||
|
||||
# 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
|
||||
|
||||
[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
|
||||
|
||||
# If you want to run 32 bit applications on your x86_64 system,
|
||||
# enable the multilib repositories as required here.
|
||||
|
||||
#[multilib-testing]
|
||||
#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.
|
||||
#[ezrepo]
|
||||
#SigLevel = Optional TrustAll
|
||||
#Server = file:///opt/ezrepo
|
||||
96
etc/sudoers
Normal file
|
|
@ -0,0 +1,96 @@
|
|||
## 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
|
||||
@includedir /etc/sudoers.d
|
||||
11
etc/systemd/system/ez-pacman-init
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
[Unit]
|
||||
Description=Initializes Pacman keyring
|
||||
|
||||
[Service]
|
||||
Type=oneshot
|
||||
RemainAfterExit=yes
|
||||
ExecStart=/usr/bin/pacman-key --init
|
||||
ExecStart=/usr/bin/pacman-key --populate
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
6
etc/xdg/reflector/reflector.conf
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
# Reflector configuration file for the systemd service.
|
||||
|
||||
--save /etc/pacman.d/mirrorlist
|
||||
--protocol https
|
||||
--latest 10
|
||||
--sort rate
|
||||