Skip to content
Projeler
Gruplar
Parçacıklar
Yardım
Yükleniyor...
Oturum aç / Kaydol
Gezinmeyi değiştir
I
inary
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)
1
Konular (issue)
1
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
inary
Commits
1086534c
Kaydet (Commit)
1086534c
authored
Haz 02, 2006
tarafından
Faik Uygur
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
* temizleyecek tek dosyamız olsun.
* run_batch ile ilgili durumu FIXME ile hatırlat.
üst
a73f1b69
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
3 deletions
+4
-3
archive.py
pisi/archive.py
+4
-2
build.py
pisi/build.py
+0
-1
No files found.
pisi/archive.py
Dosyayı görüntüle @
1086534c
...
...
@@ -94,6 +94,7 @@ class ArchiveTar(ArchiveBase):
self
.
file_path
=
self
.
file_path
.
rstrip
(
'.lzma'
)
ret
,
out
,
err
=
util
.
run_batch
(
"lzma d
%
s
%
s"
%
(
self
.
file_path
+
'.lzma'
,
self
.
file_path
))
if
ret
!=
0
:
#FIXME: see bug #2836
raise
LZMAError
(
out
)
else
:
raise
ArchiveError
(
_
(
"Archive type not recognized"
))
...
...
@@ -149,12 +150,13 @@ class ArchiveTar(ArchiveBase):
if
self
.
tar
.
mode
==
'wb'
and
self
.
type
==
'tarlzma'
:
batch
=
None
if
ctx
.
config
.
values
.
build
.
compressionlevel
:
batch
=
"lzmash -
k -
%
s
%
s"
%
(
ctx
.
config
.
values
.
build
.
compressionlevel
,
self
.
file_path
)
batch
=
"lzmash -
%
s
%
s"
%
(
ctx
.
config
.
values
.
build
.
compressionlevel
,
self
.
file_path
)
else
:
batch
=
"lzmash
-k
%
s"
%
self
.
file_path
batch
=
"lzmash
%
s"
%
self
.
file_path
ret
,
out
,
err
=
util
.
run_batch
(
batch
)
if
ret
!=
0
:
#FIXME: see bug #2836
raise
LZMAError
(
out
)
class
ArchiveZip
(
ArchiveBase
):
...
...
pisi/build.py
Dosyayı görüntüle @
1086534c
...
...
@@ -823,7 +823,6 @@ class Builder:
tar
.
close
()
pkg
.
add_to_package
(
"install.tar.lzma"
)
pkg
.
close
()
os
.
unlink
(
"install.tar"
)
os
.
unlink
(
"install.tar.lzma"
)
os
.
chdir
(
c
)
...
...
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