Skip to content

Commit 5ba8945

Browse files
committed
Merge branch 'stable'
2 parents 9ae4d0b + 8f3d9a4 commit 5ba8945

File tree

243 files changed

+11376
-1226
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

243 files changed

+11376
-1226
lines changed

.gitignore

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010
*.sig
1111
.build_option
1212
system/mkalteriso
13+
system/cpp-src/mkalteriso
1314
system/cpp-src/mkalteriso/build/
1415
pkg/
1516
src/
@@ -18,4 +19,4 @@ work/
1819
*.ignore*
1920
*.ig*
2021
*.add*
21-
temp/
22+
temp/

build.sh

Lines changed: 8 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -355,24 +355,6 @@ load_config() {
355355
}
356356

357357

358-
# 作業ディレクトリを削除
359-
remove_work() {
360-
if [[ -d "${work_dir}" ]]; then
361-
remove "$(ls ${work_dir}/* | grep "build.make")"
362-
remove "${work_dir}"/pacman-*.conf
363-
remove "${work_dir}/efiboot"
364-
remove "${work_dir}/iso"
365-
remove "${work_dir}/${arch}"
366-
remove "${work_dir}/packages.list"
367-
remove "${work_dir}/packages-full.list"
368-
#remove "${rebuildfile}"
369-
if [[ -z $(ls $(realpath "${work_dir}")/* 2>/dev/null) ]]; then
370-
remove ${work_dir}
371-
fi
372-
fi
373-
}
374-
375-
376358
# Display channel list
377359
show_channel_list() {
378360
local i
@@ -427,7 +409,7 @@ prepare_build() {
427409
trap_remove_work() {
428410
local status=${?}
429411
echo
430-
remove_work
412+
remove "${work_dir}"
431413
exit ${status}
432414
}
433415
trap 'trap_remove_work' 1 2 3 15
@@ -1000,7 +982,7 @@ make_boot() {
1000982
if [[ ! "${kernel}" = "core" ]]; then
1001983
cp "${work_dir}/${arch}/airootfs/boot/vmlinuz-linux-${kernel}" "${work_dir}/iso/${install_dir}/boot/${arch}/vmlinuz-linux-${kernel}"
1002984
else
1003-
cp "${work_dir}/${arch}/airootfs/boot/vmlinuz-linux" "${work_dir}/iso/${install_dir}/boot/${arch}/vmlinuz"
985+
cp "${work_dir}/${arch}/airootfs/boot/vmlinuz-linux" "${work_dir}/iso/${install_dir}/boot/${arch}/vmlinuz-linux"
1004986
fi
1005987
}
1006988

@@ -1009,7 +991,7 @@ make_boot_extra() {
1009991
cp "${work_dir}/${arch}/airootfs/boot/intel-ucode.img" "${work_dir}/iso/${install_dir}/boot/intel_ucode.img"
1010992
cp "${work_dir}/${arch}/airootfs/usr/share/licenses/intel-ucode/LICENSE" "${work_dir}/iso/${install_dir}/boot/intel_ucode.LICENSE"
1011993
cp "${work_dir}/${arch}/airootfs/boot/amd-ucode.img" "${work_dir}/iso/${install_dir}/boot/amd_ucode.img"
1012-
cp "${work_dir}/${arch}/airootfs/usr/share/licenses/amd-ucode/LICENSE" "${work_dir}/iso/${install_dir}/boot/amd_ucode.LICENSE"
994+
cp "${work_dir}/${arch}/airootfs/usr/share/licenses/amd-ucode/LICENSE.amd-ucode" "${work_dir}/iso/${install_dir}/boot/amd_ucode.LICENSE"
1013995
}
1014996

1015997
# Prepare /${install_dir}/boot/syslinux
@@ -1313,7 +1295,7 @@ if [[ -d "${script_path}/.git" ]]; then
13131295
fi
13141296

13151297
# Show config message
1316-
[[ -f "${defaultconfig}" ]] && _msg_debug "The settings have been overwritten by the ${defaultconfig}"
1298+
[[ -f "${defaultconfig}" ]] && _msg_debug "Use the default configuration file (${defaultconfig})."
13171299

13181300
# Debug mode
13191301
mkalteriso_option="-a ${arch} -v"
@@ -1387,7 +1369,7 @@ if [[ -n "${1}" ]]; then
13871369
fi
13881370
fi
13891371

1390-
if [[ ! "${channel_name}" == "rebuild" ]]; then
1372+
if [[ ! "${channel_name}" == "rebuild" ]] && [[ ! "${channel_name}" == "clean" ]]; then
13911373
_msg_debug "channel path is ${script_path}/channels/${channel_name}"
13921374
fi
13931375
fi
@@ -1413,7 +1395,8 @@ if [[ "${channel_name}" = "clean" ]]; then
14131395
remove "${script_path}/menuconfig/build"
14141396
remove "${script_path}/system/cpp-src/mkalteriso/build"
14151397
remove "${script_path}/menuconfig-script/kernel_choice"
1416-
remove_work
1398+
remove "${work_dir%/}"/*
1399+
remove "${work_dir}"
14171400
remove "${rebuildfile}"
14181401
remove "${script_path}/temp"
14191402
exit 0
@@ -1474,5 +1457,5 @@ run_once make_prepare
14741457
run_once make_iso
14751458

14761459
if [[ "${cleaning}" = true ]]; then
1477-
remove_work
1460+
remove "${work_dir}"
14781461
fi

channels/README.md

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
# 日本語
2+
3+
## チャンネルについて
4+
チャンネルはビルドに必要なパッケージやファイル、設定などをひとまとめにしたものです。
5+
チャンネルを切り替えることによって様々なエディションをビルドできます。
6+
また、非公式なチャンネルを開発することで簡単にArch Linux派生ディストリビューションを開発することもできます。
7+
8+
チャンネルの詳細な仕様は[こちら](/docs/jp/CHANNEL.md)を参照して下さい。
9+
また、各チャンネルの概要はそれぞれのディレクトリのREADNEを参照して下さい。
10+
11+
# English
12+
13+
## About channels
14+
A channel is a collection of packages, files, settings, etc. required for building.
15+
You can build different editions by switching channels.
16+
You can also easily develop an Arch Linux derivative distribution by developing an unofficial channel.
17+
18+
See [here](/docs/en/CHANNEL.md) for detailed channel specifications.
19+
Please refer to READNE of each directory for the outline of each channel.

channels/cinnamon/README

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
Alter Linux Cinnamon
2+
===========
3+
4+
Japanese:
5+
中量級としてCinnamonエディションは開発されました。
6+
豪華なアニメーションと基本的なソフトウェアが入っています。
7+
x86_64をサポートしており、i686の中で最も重いエディションです。
8+
チャンネル名は cinnamon です
9+
10+
English:
11+
Cinnamon Edition was developed as a middleweight class system.
12+
Gorgeous animation & standard software included.
13+
Supported x86_64 & i686.This is a heaviest edition for i686.
14+
The channel-name is cinnamon.

channels/cinnamon/airootfs.any/etc/dconf/db/local.d/01-alter-cinnamon

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,6 @@ desktop-effects-unmaximize-effect='scale'
1919
desktop-effects-unmaximize-time=100
2020
desktop-effects-unmaximize-transition='easeOutBounce'
2121
enabled-applets=['panel1:left:0:[email protected]:0', 'panel1:left:1:[email protected]:2', 'panel1:right:0:[email protected]:3', 'panel1:right:1:[email protected]:4', 'panel1:right:2:[email protected]:5', 'panel1:right:3:[email protected]:6', 'panel1:right:4:[email protected]:7', 'panel1:right:5:[email protected]:8', 'panel1:right:6:[email protected]:9', 'panel1:right:7:[email protected]:10', 'panel1:right:8:[email protected]:11', 'panel1:right:9:[email protected]:12']
22-
favorite-apps=['chromium.desktop', 'nemo.desktop', 'org.gnome.Terminal.desktop', 'cinnamon-settings.desktop']
2322
hotcorner-layout=['expo:true:0', 'scale:false:0', ':true:0', 'desktop:true:0']
2423
next-applet-id=13
2524
panel-edit-mode=false

channels/cinnamon/airootfs.any/etc/dconf/db/local.d/01-alter-screensaver

Lines changed: 0 additions & 2 deletions
This file was deleted.
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
[org/cinnamon/desktop/lockdown]
2+
disable-lock-screen=true
3+
4+
[org/gnome/desktop/lockdown]
5+
disable-lock-screen=true
6+
7+
[org/cinnamon/desktop/screensaver]
8+
allow-keyboard-shortcuts=false
9+
default-message='Password: %PASSWORD%'
10+
layout-group=0
11+
lock-enabled=false
12+
13+
[org/gnome/desktop/screensaver]
14+
lock-enabled=false
15+
16+
[org/cinnamon/desktop/keybindings/media-keys]
17+
screensaver=@as []

channels/cinnamon/airootfs.any/etc/dconf/db/local.d/02-live-config

Lines changed: 0 additions & 2 deletions
This file was deleted.

channels/cinnamon/airootfs.any/etc/default/useradd

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
# useradd defaults file for AlterLinux
1+
# useradd defaults file for Alter Linux
22
# original changes by TomK
33

4-
# In AlterLinux, the default shell is changed to /bin/zsh from the default of ArchLinux (by Hayao)
4+
# In , the default shell is changed to /bin/zsh from the default of ArchLinux (by Hayao)
55

66
GROUP=users
77
HOME=/home

channels/cinnamon/airootfs.any/etc/skel/.bash_profile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
#
44

55
[[ -f ~/.bashrc ]] && . ~/.bashrc
6-
[[ -f /usr/local/bin/alterlinux-user-directory ]] && /usr/local/bin/alterlinux-user-directory
6+
77
if [[ $(systemctl is-active graphical.target) = "active" ]] && [[ ! $DISPLAY && $XDG_VTNR -eq 1 ]]; then
88
exec startx
99
fi

0 commit comments

Comments
 (0)