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
1fb824ee
Verified
Commit
1fb824ee
authored
Feb 20, 2026
by
Kirill Unitsaev
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
common: move PROFILESDIR and VMDIR defaults from build-distro
parent
76b02727
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
9 deletions
+4
-9
build-distro
bin/build-distro
+1
-9
common
bin/common
+3
-0
No files found.
bin/build-distro
View file @
1fb824ee
...
...
@@ -11,14 +11,6 @@ NETWORK=false
# shellcheck disable=SC1091
.
"
$(
dirname
"
$0
"
)
/common"
if
[
-z
"
$VMDIR
"
]
;
then
VMDIR
=
"/var/ftp/pvt/ISO/testing/template/iso"
fi
if
[
-z
"
$PROFILESDIR
"
]
;
then
PROFILESDIR
=
"
$BUILDERDIR
/mkimage-profiles"
fi
print_build_info
()
{
echo
"____________________"
print_blue
"VMDIR:
$VMDIR
"
...
...
@@ -40,7 +32,7 @@ cleartmp() {
[
"
$CLEAN
"
==
true
]
||
return
echo
"____________________"
PROFILESDIR
=
$PROFILESDIR
"
$BUILDERDIR
"
/bin/cleartmp
-i
"
$BUILDERDIR
"
/bin/cleartmp
-i
# shellcheck disable=SC2012
# Удаляем все, кроме самого нового
[
"
$VER
"
==
"devel"
]
&&
ls
-t
"
$VMDIR
"
/ximper-
"
$desktop_env
""
$iso_suffix
"
-devel-
*
-x86_64
.iso |
tail
-n
+2 | xargs
-I
{}
rm
-v
--
{}
...
...
bin/common
View file @
1fb824ee
...
...
@@ -2,6 +2,9 @@
BUILDERDIR
=
$(
realpath
"
$(
dirname
"
${
BASH_SOURCE
[0]
}
"
)
"
/..
)
:
"
${
PROFILESDIR
:
=
$BUILDERDIR
/mkimage-profiles
}
"
:
"
${
VMDIR
:
=/var/ftp/pvt/ISO/testing/template/iso
}
"
create_tmp
()
{
mktemp
-d
-t
ximper-builder.XXXXXXX
}
...
...
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