Skip to content

Commit 05ede8f

Browse files
committed
Merge branch 'dev' into dev-stable
2 parents 9d65bef + 715f6fc commit 05ede8f

8 files changed

Lines changed: 70 additions & 29 deletions

File tree

README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,9 @@
1010
| [日本語](README_jp.md) | [English](README.md) |
1111
|:-----:|:-----:|
1212

13+
| [Stable](https://github.com/SereneTeam/alterlinux/tree/master) | [Unstable](https://github.com/SereneTeam/alterlinux/tree/dev-stable) | [Develop](https://github.com/SereneTeam/alterlinux/tree/dev) |
14+
|:-----:|:-----:|:-----:|
15+
1316
## Overview
1417

1518
Alter Linux is a new OS developed based on Arch Linux.

README_jp.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,9 @@
1010
| [日本語](README_jp.md) | [English](README.md) |
1111
|:-----:|:-----:|
1212

13+
| [安定版](https://github.com/SereneTeam/alterlinux/tree/master) | [リリース候補](https://github.com/SereneTeam/alterlinux/tree/dev-stable) | [開発](https://github.com/SereneTeam/alterlinux/tree/dev) |
14+
|:-----:|:-----:|:-----:|
15+
1316
## 概要
1417

1518
Alter LinuxはArch Linuxをベースに開発されている新しいOSです。

airootfs/etc/skel/.setup.sh

Lines changed: 0 additions & 27 deletions
This file was deleted.
Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
#!/usr/bin/env bash
2+
3+
function remove () {
4+
local list
5+
local file
6+
local exit_code
7+
list=($(echo "$@"))
8+
for file in "${list[@]}"; do
9+
if [[ -f ${file} ]]; then
10+
rm -f "${file}"
11+
elif [[ -d ${file} ]]; then
12+
rm -rf "${file}"
13+
fi
14+
done
15+
}
16+
17+
remove /etc/skel/Desktop
18+
remove /etc/systemd/system/getty@tty1.service.d/autologin.conf
19+
remove /root/.automated_script.sh
20+
remove /etc/mkinitcpio-archiso.conf
21+
remove /etc/initcpio
Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
# Configuration for the shell process job.
2+
#
3+
# Executes a list of commands found under the key *script*.
4+
# If the top-level key *dontChroot* is true, then the commands
5+
# are executed in the context of the live system, otherwise
6+
# in the context of the target system. In all of the commands,
7+
# the following substitutions will take place:
8+
# - `@@ROOT@@` is replaced by the root mount point of the **target**
9+
# system from the point of view of the command (for chrooted
10+
# commands, that will be */*).
11+
# - `@@USER@@` is replaced by the username, set on the user page.
12+
#
13+
# The (global) timeout for the command list can be set with
14+
# the *timeout* key. The value is a time in seconds, default
15+
# is 10 seconds if not set.
16+
#
17+
# If a command starts with "-" (a single minus sign), then the
18+
# return value of the command following the - is ignored; otherwise,
19+
# a failing command will abort the installation. This is much like
20+
# make's use of - in a command.
21+
#
22+
# The value of *script* may be:
23+
# - a single string; this is one command that is executed.
24+
# - a list of strings; these are executed one at a time, by
25+
# separate shells (/bin/sh -c is invoked for each command).
26+
# - an object, specifying a key *command* and (optionally)
27+
# a key *timeout* to set the timeout for this specific
28+
# command differently from the global setting.
29+
---
30+
dontChroot: false
31+
timeout: 50
32+
script:
33+
- "chmod 755 /usr/share/calamares/cleaning.sh"
34+
- "/usr/share/calamares/cleaning.sh"
35+
- "rm /home/@@USER@@/Desktop/calamares.desktop"

airootfs/usr/share/calamares/settings.conf

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -115,6 +115,7 @@ sequence:
115115
- services
116116
- grubcfg
117117
- bootloader
118+
- shellprocess
118119
- postcfg
119120
- umount
120121
- show:

build.sh

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,11 @@ _usage () {
4343
echo " -c <comp_type> Set SquashFS compression type (gzip, lzma, lzo, xz, zstd)"
4444
echo " Default: ${sfs_comp}"
4545
echo " -g <gpg_key> Set gpg key"
46-
echo " Default: empty"
46+
if [[ -z "${gpg_key}" ]]; then
47+
echo " Default: empty"
48+
else
49+
echo " Default: ${gpg_key}"
50+
fi
4751
echo " -l Enable LTS linux kernel."
4852
echo " Default: disable"
4953
echo " -o <out_dir> Set the output directory"

packages.x86_64

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -202,8 +202,9 @@ cups
202202
cups-pdf
203203

204204

205-
#-- task manager --#
205+
#-- system monitor --#
206206
gnome-system-monitor
207+
cpu-x
207208

208209

209210
#-- text editor --#

0 commit comments

Comments
 (0)