Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
E
etersoft-build-utils
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
korinf
etersoft-build-utils
Commits
103472df
Commit
103472df
authored
Apr 24, 2016
by
Vitaly Lipatov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
small fixes
parent
14292c89
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
10 additions
and
9 deletions
+10
-9
TODO
TODO
+4
-5
loginhsh
bin/loginhsh
+0
-1
rpmbsh
bin/rpmbsh
+6
-3
No files found.
TODO
View file @
103472df
$ GIT_ALT=gear.alt girar-show
https://www.altlinux.org/Gear/remotes
https://www.altlinux.org/Gear/cronbuild
Применить shell check или что-то подобное
https://www.google.ru/search?q=lint+bash
...
...
@@ -12,11 +16,6 @@ Given a version number MAJOR.MINOR.PATCH, increment the:
Additional labels for pre-release and build metadata are available as extensions to the MAJOR.MINOR.PATCH format.
http://semver.org/
Проблемы c dpkg:
1. применяется tar.xz, что не подходит для старых систем
2. нужен неисправленный alien (то есть готовить архив в два приёма)
В итоге, надо перенести конвертацию в саму систему
Скрипт update-kernel стал примером того, как стоит писать разбор параметров
Посмотреть genspec
...
...
bin/loginhsh
View file @
103472df
...
...
@@ -40,7 +40,6 @@ phelp()
echog
" -p NAME use hasher dir with NAME postfix"
echo
echog
"Extra options:"
echog
" -a auto test mode for post myhsh build checking"
echog
" -d print hasher dir only"
echog
" -M?? binary repository name (obsoleted)"
echog
" -x allow run X program (obsoleted)"
...
...
bin/rpmbsh
View file @
103472df
#!/bin/sh
# 2003-201
0
(c) Etersoft www.etersoft.ru
# 2003-201
6
(c) Etersoft www.etersoft.ru
# Author: Vitaly Lipatov <lav@etersoft.ru>
# Public domain
#
...
...
@@ -123,13 +123,16 @@ date
echo
"-------------------------------"
# make src.rpm if build OK and we have options for rpmbs
RPMBSARGS
=
$(
drop_args
"
$LISTRPMARGS
"
i c l
)
if
[
!
"
$RESULT
"
=
"0"
]
||
[
-z
"
$RPMBSARGS
"
]
;
then
exit
$RESULT
fi
is_gear
$SPECDIR
&&
TSKLIST
=
$LISTNAMES
||
TSKLIST
=
$LISTBUILT
if
rhas
"
$LISTNAMES
"
.spec
;
then
is_gear
$SPECDIR
&&
TSKLIST
=
$LISTNAMES
else
TSKLIST
=
$LISTBUILT
fi
docmd
$ETERBUILDBIN
/rpmbs
$GIRARHOST
$MENVARG
$RPMBSARGS
$TSKLIST
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