Skip to content

Commit 8ff17f6

Browse files
committed
Merge branch 'dev' into dev-stable
2 parents fe7423b + 459e437 commit 8ff17f6

File tree

4 files changed

+11
-9
lines changed

4 files changed

+11
-9
lines changed

Dockerfile

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,14 @@
11
FROM archlinux:latest
2-
RUN echo 'Server = http://mirrors.cat.net/archlinux/$repo/os/$arch' > /etc/pacman.d/mirrorlist \
3-
&& echo 'nameserver 1.1.1.1' > /etc/resolv.conf
4-
RUN echo
5-
RUN pacman -Syyu --noconfirm
6-
RUN pacman -S archiso git arch-install-scripts sudo qt5-base cmake ninja base-devel --noconfirm
7-
RUN pacman-key --init
2+
RUN echo 'Server = https://mirrors.kernel.org/archlinux/$repo/os/$arch' > /etc/pacman.d/mirrorlist
3+
RUN pacman -Sy --noconfirm reflector
4+
RUN reflector --protocol https -c Japan --sort rate --save /etc/pacman.d/mirrorlist
5+
RUN pacman -Syyu --noconfirm \
6+
git sudo python3 \
7+
base-devel cmake ninja qt5-base \
8+
archiso arch-install-scripts pyalpm
89
COPY . /alterlinux
910
WORKDIR /alterlinux
11+
RUN pacman-key --init
1012
RUN ./tools/keyring.sh -a
1113
ENTRYPOINT ["./build.sh"]
1214
CMD []

build.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1006,7 +1006,7 @@ make_prepare() {
10061006
if [[ -d "${script_path}/.git" ]] && [[ "${gitversion}" = false ]]; then
10071007
_version="${iso_version}-$(git rev-parse --short HEAD)"
10081008
fi
1009-
"${tools_dir}/alteriso-info.sh" -a "${arch}" -b "${boot_splash}" -c "${channel_name%.add}" -d "${iso_publisher}" -k "${kernel}" -o "${os_name}" -p "${password}" -u "${username}" -v "${_version}"
1009+
"${tools_dir}/alteriso-info.sh" -a "${arch}" -b "${boot_splash}" -c "${channel_name%.add}" -d "${iso_publisher}" -k "${kernel}" -o "${os_name}" -p "${password}" -u "${username}" -v "${_version}" > "${_info_file}"
10101010
fi
10111011
}
10121012

docs/en/BUILD.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ sudo ./tools/keyring.sh --alter-add --arch32-add
2626
Install the packages required for build.
2727

2828
```bash
29-
sudo pacman -S --needed git make ninja arch-install-scripts squashfs-tools libisoburn dosfstools ninja cmake pyalpm
29+
sudo pacman -S --needed git make ninja arch-install-scripts squashfs-tools libisoburn dosfstools cmake pyalpm
3030
```
3131

3232
### Use the TUI

docs/jp/BUILD.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ sudo ./tools/keyring.sh --alter-add --arch32-add
2525
ビルドに必要なパッケージをインストールします。
2626

2727
```bash
28-
sudo pacman -S --needed git make ninja arch-install-scripts squashfs-tools libisoburn dosfstools ninja cmake pyalpm
28+
sudo pacman -S --needed git make ninja arch-install-scripts squashfs-tools libisoburn dosfstools cmake pyalpm
2929
```
3030

3131
### TUIを使用する

0 commit comments

Comments
 (0)