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
7581f0c3
Kaydet (Commit)
7581f0c3
authored
May 06, 2020
tarafından
Ali Rıza KESKİN
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
sulinstrapt fixes
üst
727c74f7
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
19 deletions
+2
-19
helper.py
inary/operations/helper.py
+0
-19
sulinstrapt
scripts/sulinstrapt
+2
-0
No files found.
inary/operations/helper.py
Dosyayı görüntüle @
7581f0c3
...
...
@@ -84,17 +84,9 @@ def calculate_free_space_needed(order):
for
pkg
in
[
packagedb
.
get_package
(
name
)
for
name
in
order
]:
if
installdb
.
has_package
(
pkg
.
name
):
(
version
,
release
,
build
,
distro
,
distro_release
)
=
installdb
.
get_version_and_distro_release
(
pkg
.
name
)
# inary distro upgrade should not use delta support
if
distro
==
pkg
.
distribution
and
distro_release
==
pkg
.
distributionRelease
:
delta
=
pkg
.
get_delta
(
release
)
ignore_delta
=
ctx
.
config
.
values
.
general
.
ignore_delta
installed_release_size
=
installdb
.
get_package
(
pkg
.
name
)
.
installedSize
if
delta
and
not
ignore_delta
:
pkg_size
=
delta
.
installedSize
else
:
pkg_size
=
pkg
.
installedSize
-
installed_release_size
total_needed
+=
pkg_size
...
...
@@ -126,20 +118,9 @@ def calculate_download_sizes(order):
for
pkg
in
[
packagedb
.
get_package
(
name
)
for
name
in
order
]:
delta
=
None
if
installdb
.
has_package
(
pkg
.
name
):
(
version
,
release
,
build
,
distro
,
distro_release
)
=
installdb
.
get_version_and_distro_release
(
pkg
.
name
)
# inary distro upgrade should not use delta support
if
distro
==
pkg
.
distribution
and
distro_release
==
pkg
.
distributionRelease
:
delta
=
pkg
.
get_delta
(
release
)
ignore_delta
=
ctx
.
config
.
values
.
general
.
ignore_delta
if
delta
and
not
ignore_delta
:
fn
=
os
.
path
.
basename
(
delta
.
packageURI
)
pkg_hash
=
delta
.
packageHash
pkg_size
=
delta
.
packageSize
else
:
fn
=
os
.
path
.
basename
(
pkg
.
packageURI
)
pkg_hash
=
pkg
.
packageHash
pkg_size
=
pkg
.
packageSize
...
...
scripts/sulinstrapt
Dosyayı görüntüle @
7581f0c3
...
...
@@ -22,10 +22,12 @@ then
exit
1
fi
inary ar sulin https://master.dl.sourceforge.net/project/sulinos/SulinRepository/inary-index.xml
-D
$sulin
inary ur
-D
$sulin
inary it baselayout
--ignore-dep
--ignore-safety
--ignore-configure
-y
-D
$sulin
inary it
-c
system.base
-y
--ignore-configure
-D
$sulin
for
i
in
/dev /sys /proc
do
mkdir
-p
$sulin
/
$i
&>/dev/null
mount
--bind
$i
$sulin
/
$i
done
chroot
$sulin
inary
cp
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