Skip to content

Commit

Permalink
Merge branch 'dev'
Browse files Browse the repository at this point in the history
  • Loading branch information
Hayao0819 committed Feb 10, 2020
2 parents 93cedf4 + c649e08 commit 7005e07
Show file tree
Hide file tree
Showing 4 changed files with 43 additions and 19 deletions.
25 changes: 22 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,21 +1,40 @@

## AlterLinux - 誰でも使えることを目標にした日本製のArchLinux派生のOS

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

# 概要
## 概要

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

# ビルド
## ビルド
ArchLinux環境でビルドする必要があります。
事前に`archiso`パッケージをインストールしておいてください。

```bash
git clone https://github.com/SereneTeam/alterlinux.git
cd alterlinux
./build -v
./build.sh
```

### build.shのオプション

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

#### オプション
- Plymouthを有効化する : '-b'
- パスワードを変更する : `-p <password>`

例 : Plymouthを有効化し、パスワードを`ilovearch`に変更する。

```bash
./build.sh -b -p 'ilovealter'
```


# Plymouthについて
`build.sh``-b`をつけるとPlymouthが有効化されます。
ただし、現在Plymouthを有効化した状態だとインストール後に正常に起動しない問題が確認されています。
Expand Down
16 changes: 16 additions & 0 deletions airootfs/etc/skel/Desktop/calamares.desktop
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
[Desktop Entry]
Type=Application
Version=1.0
Name=Install Alter Linux
Name[da]=Installer Alter Linux
GenericName=Live Installer
GenericName[da]=Live-installationsprogram
Comment=Install the operating system to disk
Comment[da]=Installer styresystemet på disk
Comment[de]=Alter Linux installieren
Exec=sudo /usr/bin/calamares_polkit %f
Icon=calamares
Terminal=false
StartupNotify=true
Type=Application
Categories=Qt;System;
1 change: 1 addition & 0 deletions airootfs/usr/share/calamares/modules/users.conf
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ defaultGroups:
- storage
- wheel
- audio
- sudo

# Some Distributions require a 'autologin' group for the user.
# Autologin causes a user to become automatically logged in to
Expand Down
20 changes: 4 additions & 16 deletions build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -25,30 +25,18 @@ source plymouth-theme

umask 0022

_usage ()
{
_usage () {
echo "usage ${0} [options]"
echo
echo " General options:"
echo " -N <iso_name> Set an iso filename (prefix)"
echo " Default: ${iso_name}"
echo " -V <iso_version> Set an iso version (in filename)"
echo " Default: ${iso_version}"
echo " -L <iso_label> Set an iso label (disk label)"
echo " Default: ${iso_label}"
echo " -P <publisher> Set a publisher for the disk"
echo " Default: '${iso_publisher}'"
echo " -A <application> Set an application name for the disk"
echo " Default: '${iso_application}'"
echo " -D <install_dir> Set an install_dir (directory inside iso)"
echo " Default: ${install_dir}"
echo " -w <work_dir> Set the working directory"
echo " Default: ${work_dir}"
echo " -o <out_dir> Set the output directory"
echo " Default: ${out_dir}"
echo " -p <password> Set a live user password"
echo " Default: alter"
echo " -b Enable boot splash."
echo " Default: ${password}"
echo " -b Enable boot splash"
echo " Default: disable"
# echo " -v Enable verbose output"
echo " -h This help message"
exit ${1}
Expand Down

0 comments on commit 7005e07

Please sign in to comment.