Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
X
ximper-builder
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Ximper Linux
ximper-builder
Commits
d9ca7494
Verified
Commit
d9ca7494
authored
Feb 20, 2026
by
Kirill Unitsaev
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
build-distro: replace --gnome/--kde/--hyprland with --de=
parent
3041dd10
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
16 deletions
+7
-16
build-distro
bin/build-distro
+7
-16
No files found.
bin/build-distro
View file @
d9ca7494
...
@@ -142,7 +142,7 @@ deploy() {
...
@@ -142,7 +142,7 @@ deploy() {
mv
-vf
"
$TMP
"
/out/ximper-
*
.iso
"
$VMDIR
"
/
"
$DFILENAME
"
mv
-vf
"
$TMP
"
/out/ximper-
*
.iso
"
$VMDIR
"
/
"
$DFILENAME
"
}
}
OPTS
=
$(
getopt
-o
h
--long
help
,nvidia,debug,clean,all,
gnome,kde,hyprland
,net,network,repos:
--
"
$@
"
)
||
{
OPTS
=
$(
getopt
-o
h
--long
help
,nvidia,debug,clean,all,
de:
,net,network,repos:
--
"
$@
"
)
||
{
print_error
"Ошибка обработки опций."
print_error
"Ошибка обработки опций."
}
}
...
@@ -157,10 +157,8 @@ while true; do
...
@@ -157,10 +157,8 @@ while true; do
printf
"Использование: %s [версия дистрибутива] [опции]
\n\n
"
"
$0
"
printf
"Использование: %s [версия дистрибутива] [опции]
\n\n
"
"
$0
"
printf
"Опции:
\n
"
printf
"Опции:
\n
"
printf
" -h | --help Вывод этой справки
\n
"
printf
" -h | --help Вывод этой справки
\n
"
printf
" Окружения:
\n
"
printf
" --de=ОКРУЖЕНИЯ Рабочие окружения через запятую (по умолчанию: gnome)
\n
"
printf
" --gnome Собрать дистрибутив с GNOME (по умолчанию)
\n
"
printf
" Пример: --de=gnome,kde
\n
"
printf
" --kde Собрать дистрибутив с KDE
\n
"
printf
" --hyprland Собрать дистрибутив с Hyprland
\n
"
printf
"
\n
"
printf
"
\n
"
printf
" Настройки образа:
\n
"
printf
" Настройки образа:
\n
"
printf
" --nvidia Собрать дистрибутив с драйверами NVIDIA
\n
"
printf
" --nvidia Собрать дистрибутив с драйверами NVIDIA
\n
"
...
@@ -197,17 +195,10 @@ while true; do
...
@@ -197,17 +195,10 @@ while true; do
ALLDISTROS
=
true
ALLDISTROS
=
true
shift
shift
;;
;;
--gnome
)
--de
)
DESKTOP_ENVS+
=(
"gnome"
)
IFS
=
','
read
-ra
_de
<<<
"
$2
"
shift
DESKTOP_ENVS+
=(
"
${
_de
[@]
}
"
)
;;
shift
2
--kde
)
DESKTOP_ENVS+
=(
"kde"
)
shift
;;
--hyprland
)
DESKTOP_ENVS+
=(
"hyprland"
)
shift
;;
;;
--net
|
--network
)
--net
|
--network
)
NETWORK
=
"--network"
NETWORK
=
"--network"
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment