Compare commits

...

9 commits

Author SHA1 Message Date
5e29909aec Update lib/util-iso-boot.sh 2024-01-28 12:47:00 +01:00
Frede Hundewadt
99d8f267bf shell check remove dangling ]] 2023-12-16 08:26:58 +01:00
Frede Hundewadt
aec896c90c added flag -n to disable multilib (override profile setting) 2023-12-16 08:26:01 +01:00
Frede Hundewadt
98eda6b062 remove deprecated community repo
enable ParallelDownloads
2023-12-16 08:24:09 +01:00
Frede Hundewadt
8129e5d45a change to array from "" to () 2023-12-16 08:23:10 +01:00
Frede Hundewadt
78765ee17c adding check-yaml to make clean 2023-12-16 08:22:00 +01:00
Philip Mueller
71f34308c6 Revert "[util-yaml] try to fix locale on gaming edition"
This reverts commit e41edc365f.
2023-12-13 15:59:01 +07:00
Philip Mueller
e41edc365f [util-yaml] try to fix locale on gaming edition 2023-12-13 15:58:13 +07:00
Philip Mueller
0bb4097092 [util] update default mirror 2023-08-29 08:15:42 +02:00
7 changed files with 14 additions and 10 deletions

View file

@ -13,7 +13,8 @@ BIN_BASE = \
bin/manjaro-chroot \
bin/fstabgen \
bin/signfile \
bin/chroot-run
bin/chroot-run \
bin/check-yaml
LIBS_BASE = \
lib/util.sh \

View file

@ -131,6 +131,7 @@ usage() {
echo " [default: ${kernel}]"
echo ' -l Create permalink'
echo ' -m Set SquashFS image mode to persistence'
echo ' -n Disable multilib'
echo " -p <profile> Buildset or profile [default: ${build_list_iso}]"
echo ' -o Enable office installer module'
echo ' -q Query settings and pretend build'
@ -150,7 +151,7 @@ usage() {
orig_argv=("$@")
opts='p:a:b:r:t:k:g:d:cfzxmvqhilo'
opts='p:a:b:r:t:k:g:d:cfzxmnvqhilo'
while getopts "${opts}" arg; do
case "${arg}" in
@ -163,6 +164,7 @@ while getopts "${opts}" arg; do
g) gpgkey="$OPTARG" ;;
k) kernel="$OPTARG" ;;
m) persist=true ;;
n) no_multilib=true ;; # only exist if set here
p) build_list_iso="$OPTARG" ;;
q) pretend=true ;;
r) chroots_iso="$OPTARG" ;;

View file

@ -1,3 +1,3 @@
MODULES="loop dm-snapshot"
HOOKS="base udev miso_shutdown miso miso_loop_mnt miso_pxe_common miso_pxe_http miso_pxe_nbd miso_pxe_nfs miso_kms modconf block filesystems keyboard keymap"
MODULES=(loop dm-snapshot)
HOOKS=(base udev miso_shutdown miso miso_loop_mnt miso_pxe_common miso_pxe_http miso_pxe_nbd miso_pxe_nfs miso_kms modconf block filesystems keyboard keymap)
COMPRESSION="xz"

View file

@ -38,7 +38,7 @@ Architecture = auto
# We cannot check disk space from within a chroot environment
#CheckSpace
#VerbosePkgLists
#ParallelDownloads = 5
ParallelDownloads = 4
# By default, pacman accepts packages signed by keys that its local keyring
# trusts (see pacman-key and its man page), as well as unsigned packages.
@ -86,4 +86,3 @@ Include = /etc/pacman.d/mirrorlist
#[custom]
#SigLevel = Optional TrustAll
#Server = file:///home/custompkgs

View file

@ -38,7 +38,7 @@ Architecture = auto
# We cannot check disk space from within a chroot environment
#CheckSpace
#VerbosePkgLists
#ParallelDownloads = 5
ParallelDownloads = 4
# By default, pacman accepts packages signed by keys that its local keyring
# trusts (see pacman-key and its man page), as well as unsigned packages.

View file

@ -18,7 +18,7 @@ prepare_initcpio(){
prepare_initramfs(){
cp ${DATADIR}/mkinitcpio.conf $1/etc/mkinitcpio-${iso_name}.conf
local _kernver=$(cat $1/usr/lib/modules/*/version)
local _kernver=$(cat $1/usr/lib/modules/*/kernelbase | awk -F'-' '{print $1}')
if [[ -n ${gpgkey} ]]; then
su ${OWNER} -c "gpg --export ${gpgkey} >${USERCONFDIR}/gpgkey"
exec 17<>${USERCONFDIR}/gpgkey

View file

@ -213,7 +213,7 @@ init_common(){
[[ -z ${log_dir} ]] && log_dir='/var/log/manjaro-tools'
[[ -z ${build_mirror} ]] && build_mirror='https://mirror.alpix.eu/manjaro'
[[ -z ${build_mirror} ]] && build_mirror='https://mirror.easyname.at/manjaro'
[[ -z ${tmp_dir} ]] && tmp_dir='/tmp/manjaro-tools'
}
@ -409,6 +409,7 @@ load_profile_config(){
[[ -z ${snap_channel} ]] && snap_channel="stable"
[[ -z ${multilib} ]] && multilib="true"
[[ ${no_multilib} == 'true' ]] && multilib="false"
[[ -z ${nonfree_mhwd} ]] && nonfree_mhwd="true"
@ -516,6 +517,7 @@ reset_profile(){
unset extra
unset full_iso
unset office_installer
unset no_multilib
}
check_profile(){
@ -834,7 +836,7 @@ create_chksums() {
init_profiles() {
_workdir='/usr/share/manjaro-tools'
if [[ -d ${_workdir}/iso-profiles ]]; then
rm -Rf ${_workdir}/iso-profiles ]]
rm -Rf ${_workdir}/iso-profiles
fi
git clone -q --depth 1 -b ${branch} https://gitlab.manjaro.org/profiles-and-settings/iso-profiles.git ${_workdir}/iso-profiles/