Skip to content

Commit 29246d7

Browse files
committed
Merge branch 'dev'
2 parents 3af2acc + 9ad3ec6 commit 29246d7

14 files changed

Lines changed: 757 additions & 47 deletions

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,3 +11,5 @@
1111

1212
pkg/
1313
src/
14+
out/
15+
alter-build

Dockerfile

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
FROM archlinux:latest
2+
RUN echo 'Server = https://mirrors.cat.net/archlinux/$repo/os/$arch' > /etc/pacman.d/mirrorlist
3+
RUN pacman -Syyu --noconfirm
4+
RUN pacman -S git archiso arch-install-scripts --noconfirm
5+
RUN git clone https://github.com/SereneTeam/alterlinux.git alterlinux/
6+
WORKDIR /alterlinux
7+
RUN git checkout dev
8+
CMD ["./build.sh", "-c", "zstd"]

Howtobuild_on_docker.md

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
2+
## Japanese
3+
4+
### ビルド
5+
dockerがインストール済みのLinux環境で行ってください。
6+
7+
```bash
8+
git clone https://github.com/SereneTeam/alterlinux.git
9+
cd alterlinux
10+
sudo ./docker-build.sh
11+
```
12+
#### ビルドオプションについて
13+
DockerfileのCMD欄を書き換えることでオプションが選べます。
14+
15+
16+
## English
17+
18+
### Build
19+
Please go in the Linux environment where docker is installed.
20+
21+
```bash
22+
git clone https://github.com/SereneTeam/alterlinux.git
23+
cd alterlinux
24+
sudo ./docker-build.sh
25+
```
26+
27+
#### About build options
28+
Options can be selected by rewriting the CMD column of Dockerfile.

README.md

Lines changed: 92 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -1,65 +1,129 @@
11

2-
## AlterLinux - 誰でも使えることを目標にした日本製のArchLinux派生のOS
2+
## AlterLinux - ArchLinux-derived OS made in Japan aimed at being usable by anyone
33

44
![License](https://img.shields.io/badge/LICENSE-GPL--3.0-blue?style=for-the-badge&logo=appveyor)
55
![Base](https://img.shields.io/badge/BASE-ArchLinux-blue?style=for-the-badge&logo=appveyor)
66
![archiso](https://img.shields.io/badge/archiso--version-43--1-blue?style=for-the-badge&logo=appveyor)
77

8-
## 概要
8+
## Overview
99

10-
Alter LinuxはArch Linuxをベースに開発されている新しいOSです。
10+
Alter Linux is a new OS developed based on Arch Linux.
11+
Combining a sophisticated UI with Xfce4 and a package management tool complete with a GUI, anyone can easily use the latest OS with constraints.
12+
13+
このReadmeの日本語版は[こちら](https://github.com/SereneTeam/alterlinux/blob/dev/README_jp.md)にあります。
1114

1215

13-
## リポジトリとソフトウェア
16+
## Repositories and software
1417

15-
### リポジトリ
18+
### Repositories
1619
- [SereneTeam/alter-repo](https://github.com/SereneTeam/alter-repo)
17-
全てのミラーサーバはこのリポジトリと同期しています。
20+
All mirror servers are synchronized with this repository.
1821

1922

20-
### ソフトウェア
21-
Alter Linuxに入っている独自のソフトウェアのソースコードは以下にあります。
22-
全てのパッケージ一覧は[こちら](https://github.com/SereneTeam/alterlinux/blob/master/packages.x86_64)にあります。
23+
### Software
24+
The source code of the original software included in Alter Linux is below.
25+
The first of all packages is [here](https://github.com/SereneTeam/alterlinux/blob/master/packages.x86_64).
2326

2427
- [EG-Installer](https://github.com/Hayao0819/EG-Installer)([PKGBUILD](https://github.com/Hayao0819/EG-Installer-PKGBUILD))
2528
- [plymouth-theme-alter](https://github.com/yamad-linuxer/plymouth-theme-alter)([PKGBUILD](https://github.com/Hayao0819/plymouth-theme-alter))
2629

27-
AURに無いソフトウェアのソースコードは以下にあります。
30+
The source code for software not in the AUR can be found below.
2831

2932
- [calamares](https://gitlab.manjaro.org/applications/calamares)([PKGBUILD](https://gitlab.manjaro.org/packages/extra/calamares))
3033

3134

32-
## ビルド
33-
ArchLinux環境でビルドする必要があります。
34-
事前に`archiso`パッケージをインストールしておいてください。
35+
36+
## build
37+
38+
The following procedure is for building with the actual machine ArchLinux.
39+
If you build on Docker, please refer to [this procedure](https://github.com/SereneTeam/alterlinux/blob/dev/Howtobuild_on_docker.md).
40+
41+
You need to build in ArchLinux environment.
42+
Please install `archiso` package beforehand.
43+
3544

3645
```bash
3746
git clone https://github.com/SereneTeam/alterlinux.git
3847
cd alterlinux
3948
./build.sh
4049
```
4150

42-
### build.shのオプション
51+
### build.sh options
52+
53+
#### basic
54+
Please execute as it is.
55+
The default password is `alter`.
56+
Plymouth has been disabled.
57+
Default compression type is `xz`.
4358

44-
#### 基本
45-
そのまま実行してください。デフォルトパスワードは`alter`です。Plymouthは無効化されています。
4659

47-
#### オプション
48-
- Plymouthを有効化する : `-b`
49-
- パスワードを変更する : `-p <password>`
60+
#### options
61+
- Enable Plymouth : `-b`
62+
- Change the password : `-p <password>`
63+
- Change compression type : `-c <comp type>`
64+
- Set compression options : `-t <options>`
5065

51-
例 : Plymouthを有効化し、パスワードを`ilovearch`に変更する。
66+
Example: Enable Plymouth and change the password to `ilovearch` and change compression type to `zstd`.
5267

5368
```bash
54-
./build.sh -b -p 'ilovealter'
69+
./build.sh -b -p 'ilovearch' -c 'zstd'
5570
```
5671

72+
##### About compression type
73+
See the `mksquashfs` help for compression options and more options.
74+
As of February 12, 2019, `mksquashfs` supports the following methods and options.
75+
76+
```
77+
gzip (default)
78+
-Xcompression-level <compression-level>
79+
<compression-level> should be 1 .. 9 (default 9)
80+
-Xwindow-size <window-size>
81+
<window-size> should be 8 .. 15 (default 15)
82+
-Xstrategy strategy1,strategy2,...,strategyN
83+
Compress using strategy1,strategy2,...,strategyN in turn
84+
and choose the best compression.
85+
Available strategies: default, filtered, huffman_only,
86+
run_length_encoded and fixed
87+
lzma (no options)
88+
lzo
89+
-Xalgorithm <algorithm>
90+
Where <algorithm> is one of:
91+
lzo1x_1
92+
lzo1x_1_11
93+
lzo1x_1_12
94+
lzo1x_1_15
95+
lzo1x_999 (default)
96+
-Xcompression-level <compression-level>
97+
<compression-level> should be 1 .. 9 (default 8)
98+
Only applies to lzo1x_999 algorithm
99+
lz4
100+
-Xhc
101+
Compress using LZ4 High Compression
102+
xz
103+
-Xbcj filter1,filter2,...,filterN
104+
Compress using filter1,filter2,...,filterN in turn
105+
(in addition to no filter), and choose the best compression.
106+
Available filters: x86, arm, armthumb, powerpc, sparc, ia64
107+
-Xdict-size <dict-size>
108+
Use <dict-size> as the XZ dictionary size. The dictionary size
109+
can be specified as a percentage of the block size, or as an
110+
absolute value. The dictionary size must be less than or equal
111+
to the block size and 8192 bytes or larger. It must also be
112+
storable in the xz header as either 2^n or as 2^n+2^(n+1).
113+
Example dict-sizes are 75%, 50%, 37.5%, 25%, or 32K, 16K, 8K
114+
etc.
115+
zstd
116+
-Xcompression-level <compression-level>
117+
<compression-level> should be 1 .. 22 (default 15)
118+
```
119+
120+
121+
## Developer
57122

58-
#### Plymouthについて
59-
`build.sh``-b`をつけるとPlymouthが有効化されます。
60-
ただし、現在Plymouthを有効化した状態だとインストール後に正常に起動しない問題が確認されています。
123+
### code
124+
- [Hayao0819](https://twitter.com/Hayao0819)
125+
- [lap1sid](https://twitter.com/Pixel_3a)
126+
- [yamad](https://twitter.com/_unix_like)
61127

62-
#### ライブ環境でのパスワード
63-
デフォルトのパスワードは`alter`です。
64-
`build.sh``-p [password]`とすることでパスワードを変更できます。
65-
オプション無しでパスワードを変更する場合は`build.sh``password`の値を変更してください。
128+
### design
129+
- [tukutun](https://twitter.com/tukutuN_27)

README_jp.md

Lines changed: 126 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,126 @@
1+
2+
## AlterLinux - 誰でも使えることを目標にした日本製のArchLinux派生のOS
3+
4+
![License](https://img.shields.io/badge/LICENSE-GPL--3.0-blue?style=for-the-badge&logo=appveyor)
5+
![Base](https://img.shields.io/badge/BASE-ArchLinux-blue?style=for-the-badge&logo=appveyor)
6+
![archiso](https://img.shields.io/badge/archiso--version-43--1-blue?style=for-the-badge&logo=appveyor)
7+
8+
## 概要
9+
10+
Alter LinuxはArch Linuxをベースに開発されている新しいOSです。
11+
Xfce4による洗練されたUIとGUIで完結するパッケージ管理ツールを兼ね備え、誰でも簡単に拘束で最新のOSを使用できます。
12+
13+
You can find the English version of this Readme [here](https://github.com/SereneTeam/alterlinux/blob/dev/README.md).
14+
15+
16+
## リポジトリとソフトウェア
17+
18+
### リポジトリ
19+
- [SereneTeam/alter-repo](https://github.com/SereneTeam/alter-repo)
20+
全てのミラーサーバはこのリポジトリと同期しています。
21+
22+
23+
### ソフトウェア
24+
Alter Linuxに入っている独自のソフトウェアのソースコードは以下にあります。
25+
全てのパッケージ一覧は[こちら](https://github.com/SereneTeam/alterlinux/blob/master/packages.x86_64)にあります。
26+
27+
- [EG-Installer](https://github.com/Hayao0819/EG-Installer)([PKGBUILD](https://github.com/Hayao0819/EG-Installer-PKGBUILD))
28+
- [plymouth-theme-alter](https://github.com/yamad-linuxer/plymouth-theme-alter)([PKGBUILD](https://github.com/Hayao0819/plymouth-theme-alter))
29+
30+
AURに無いソフトウェアのソースコードは以下にあります。
31+
32+
- [calamares](https://gitlab.manjaro.org/applications/calamares)([PKGBUILD](https://gitlab.manjaro.org/packages/extra/calamares))
33+
34+
35+
## ビルド
36+
37+
以下の手順は、実機のArchLinuxでビルドするためのものです。
38+
Dockerでビルドする場合は、[この手順](https://github.com/SereneTeam/alterlinux/blob/dev/Howtobuild_on_docker.md)を参照してください。
39+
40+
ArchLinux環境でビルドする必要があります。
41+
事前に`archiso`パッケージをインストールしておいてください。
42+
43+
```bash
44+
git clone https://github.com/SereneTeam/alterlinux.git
45+
cd alterlinux
46+
./build.sh
47+
```
48+
49+
### build.shのオプション
50+
51+
#### 基本
52+
そのまま実行してください。
53+
デフォルトパスワードは`alter`です。
54+
Plymouthは無効化されています。
55+
デフォルトの圧縮方式は`xz`です。
56+
57+
#### オプション
58+
- Plymouthを有効化する : `-b`
59+
- パスワードを変更する : `-p <password>`
60+
- 圧縮方式を変える : `-c <comp type>`
61+
- 圧縮のオプション : `-t <options>`
62+
63+
例 : Plymouthを有効化し、パスワードを`ilovearch`に変更し、圧縮方式を`zstd`にする。
64+
65+
```bash
66+
./build.sh -b -p 'ilovearch' -c "zstd"
67+
```
68+
69+
##### 圧縮方式について
70+
圧縮方式と詳細のオプションは`mksquashfs`のヘルプを参照してください。
71+
2019年2月12日現在で、`mksquashfs`が対応している方式とオプションは以下の通りです。
72+
73+
```
74+
gzip (default)
75+
-Xcompression-level <compression-level>
76+
<compression-level> should be 1 .. 9 (default 9)
77+
-Xwindow-size <window-size>
78+
<window-size> should be 8 .. 15 (default 15)
79+
-Xstrategy strategy1,strategy2,...,strategyN
80+
Compress using strategy1,strategy2,...,strategyN in turn
81+
and choose the best compression.
82+
Available strategies: default, filtered, huffman_only,
83+
run_length_encoded and fixed
84+
lzma (no options)
85+
lzo
86+
-Xalgorithm <algorithm>
87+
Where <algorithm> is one of:
88+
lzo1x_1
89+
lzo1x_1_11
90+
lzo1x_1_12
91+
lzo1x_1_15
92+
lzo1x_999 (default)
93+
-Xcompression-level <compression-level>
94+
<compression-level> should be 1 .. 9 (default 8)
95+
Only applies to lzo1x_999 algorithm
96+
lz4
97+
-Xhc
98+
Compress using LZ4 High Compression
99+
xz
100+
-Xbcj filter1,filter2,...,filterN
101+
Compress using filter1,filter2,...,filterN in turn
102+
(in addition to no filter), and choose the best compression.
103+
Available filters: x86, arm, armthumb, powerpc, sparc, ia64
104+
-Xdict-size <dict-size>
105+
Use <dict-size> as the XZ dictionary size. The dictionary size
106+
can be specified as a percentage of the block size, or as an
107+
absolute value. The dictionary size must be less than or equal
108+
to the block size and 8192 bytes or larger. It must also be
109+
storable in the xz header as either 2^n or as 2^n+2^(n+1).
110+
Example dict-sizes are 75%, 50%, 37.5%, 25%, or 32K, 16K, 8K
111+
etc.
112+
zstd
113+
-Xcompression-level <compression-level>
114+
<compression-level> should be 1 .. 22 (default 15)
115+
```
116+
117+
118+
## 開発者
119+
120+
### コード
121+
- [Hayao0819](https://twitter.com/Hayao0819)
122+
- [lap1sid](https://twitter.com/Pixel_3a)
123+
- [yamad](https://twitter.com/_unix_like)
124+
125+
### デザイン
126+
- [tukutun](https://twitter.com/tukutuN_27)

airootfs/root/.zlogin

Lines changed: 0 additions & 1 deletion
This file was deleted.

0 commit comments

Comments
 (0)