Newer
Older
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
--- a/manjaro-tools/lib/util.sh 2017-11-01 14:15:59.293276152 -0400
+++ b/manjaro-tools/lib/util.sh 2017-12-31 12:45:22.599475136 -0500
@@ -66,7 +66,7 @@ get_pac_mirrors_conf(){
local conf="$tmp_dir/pacman-mirrors-$1.conf"
cp "${DATADIR}/pacman-mirrors.conf" "$conf"
sed -i "$conf" \
- -e "s|Branch = stable|Branch = $1|"
+ -e "s|Branch = x32-stable|Branch = $1|"
echo "$conf"
}
@@ -201,7 +201,7 @@ set_branch(){
}
init_common(){
- [[ -z ${target_branch} ]] && target_branch='stable'
+ [[ -z ${target_branch} ]] && target_branch='x32-stable'
[[ -z ${target_arch} ]] && target_arch=$(uname -m)
@@ -749,7 +749,7 @@ is_valid_arch_iso(){
is_valid_branch(){
case $1 in
- 'stable'|'testing'|'unstable') return 0 ;;
+ 'x32-stable'|'x32-testing'|'x32-unstable') return 0 ;;
*) return 1 ;;
esac
}
--- a/manjaro-tools/lib/util-iso.sh 2017-11-01 14:15:59.269942128 -0400
+++ b/manjaro-tools/lib/util-iso.sh 2017-12-31 12:58:11.425522151 -0500
@@ -221,7 +221,7 @@ gen_iso_fn(){
fi
[[ ${initsys} == 'openrc' ]] && vars+=("${initsys}")
vars+=("${dist_release}")
- vars+=("${target_branch}")
+ vars+=("${target_branch/x32-/}")
vars+=("${target_arch}")
for n in ${vars[@]};do
name=${name:-}${name:+-}${n}
diff --git a/manjaro-tools/data/pacman-mirrors.conf b/manjaro-tools/data/pacman-mirrors.conf
index 7141548..e33e526 100644
--- a/manjaro-tools/data/pacman-mirrors.conf
+++ b/manjaro-tools/data/pacman-mirrors.conf
@@ -2,8 +2,8 @@
## /etc/pacman-mirrors.conf
##
-## Branch Pacman should use (stable, testing, unstable)
-Branch = stable
+## Branch Pacman should use (x32-stable, x32-testing, x32-unstable)
+Branch = x32-stable
## Generation method
## 1) rank - rank mirrors depending on their access time
diff --git a/manjaro-tools/data/manjaro-tools.conf b/manjaro-tools/data/manjaro-tools.conf
index 52f5866..05b20d1 100644
--- a/manjaro-tools/data/manjaro-tools.conf
+++ b/manjaro-tools/data/manjaro-tools.conf
@@ -3,7 +3,7 @@
######################################################
# default target branch
-# target_branch=stable
+# target_branch=x32-stable
# default taget arch: auto detect
# target_arch=$(uname -m)