Skip to content
Projeler
Gruplar
Parçacıklar
Yardım
Yükleniyor...
Oturum aç / Kaydol
Gezinmeyi değiştir
U
unibuild
Proje
Proje
Ayrıntılar
Etkinlik
Cycle Analytics
Depo (repository)
Depo (repository)
Dosyalar
Kayıtlar (commit)
Dallar (branch)
Etiketler
Katkıda bulunanlar
Grafik
Karşılaştır
Grafikler
Konular (issue)
0
Konular (issue)
0
Liste
Pano
Etiketler
Kilometre Taşları
Birleştirme (merge) Talepleri
0
Birleştirme (merge) Talepleri
0
CI / CD
CI / CD
İş akışları (pipeline)
İşler
Zamanlamalar
Grafikler
Paketler
Paketler
Wiki
Wiki
Parçacıklar
Parçacıklar
Üyeler
Üyeler
Collapse sidebar
Close sidebar
Etkinlik
Grafik
Grafikler
Yeni bir konu (issue) oluştur
İşler
Kayıtlar (commit)
Konu (issue) Panoları
Kenar çubuğunu aç
SulinOS
unibuild
Commits
d071d168
Kaydet (Commit)
d071d168
authored
Nis 01, 2021
tarafından
Your Name
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
fix inary build
üst
0a31e2a4
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
+4
-4
inary
src/host/inary
+1
-1
inary
src/target/inary
+3
-3
No files found.
src/host/inary
Dosyayı görüntüle @
d071d168
...
...
@@ -3,7 +3,7 @@ _get_build_deps(){
needed
=
""
for
i
in
${
builddepends
[@]
}
do
ls
/var/lib/inary/package/
|
grep
"^
$i
-[1-9]"
&>/dev/null
||
needed
=
"
$needed
$i
"
ls
/var/lib/inary/package/
"
$i
"
-[0-9]
*
||
needed
=
"
$needed
$i
"
done
if
[
"
$needed
"
!=
""
]
;
then
err
"Missing:
$needed
"
...
...
src/target/inary
Dosyayı görüntüle @
d071d168
...
...
@@ -69,15 +69,15 @@ _package(){
echo
-e
"<Files>"
>
../files.xml
find |
sed
"s|^
\.
/||g"
|
while
read
line
do
if
[
-f
$line
]
;
then
if
[
-f
"
$line
"
]
;
then
echo
-e
" <File>"
>>
../files.xml
echo
-e
" <Path>
$line
</Path>"
>>
../files.xml
echo
-e
" <Type>data</Type>"
>>
../files.xml
echo
-e
" <Size>
$(
du
-b
$line
|
awk
'{print $1}'
)
</Size>"
>>
../files.xml
echo
-e
" <Size>
"
$(
du
-b
"
$INSTALLDIR
/
$line
"
|
awk
'{print $1}'
)
"
</Size>"
>>
../files.xml
echo
-e
" <Uid>0</Uid>"
>>
../files.xml
echo
-e
" <Gid>0</Gid>"
>>
../files.xml
echo
-e
" <Mode>0o755</Mode>"
>>
../files.xml
echo
-e
" <Hash>
$(
sha1sum
$line
|
awk
'{print $1}'
)
</Hash>"
>>
../files.xml
echo
-e
" <Hash>
"
$(
sha1sum
"
$INSTALLDIR
/
$line
"
|
awk
'{print $1}'
)
"
</Hash>"
>>
../files.xml
echo
-e
" </File>"
>>
../files.xml
fi
done
...
...
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