Skip to content
Projeler
Gruplar
Parçacıklar
Yardım
Yükleniyor...
Oturum aç / Kaydol
Gezinmeyi değiştir
L
live-installer
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
live-installer
Commits
6c5bdc58
Kaydet (Commit)
6c5bdc58
authored
Şub 10, 2020
tarafından
Clement Lefebvre
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Fix wrong live mount points
üst
cb640414
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
live-installer-stop
sbin/live-installer-stop
+1
-1
partitioning.py
usr/lib/live-installer/partitioning.py
+1
-1
No files found.
sbin/live-installer-stop
Dosyayı görüntüle @
6c5bdc58
...
...
@@ -51,7 +51,7 @@ do_stop ()
device
=
"
$(
grep
" /run/live/medium "
/proc/mounts |
cut
-d
' '
-f1
)
"
||
device
=
pkname
=
"
$(
lsblk
-no
pkname
$device
)
"
||
pkname
=
# If /
lib/live/mount
/medium isn't mounted, don't try to eject it
# If /
run/live
/medium isn't mounted, don't try to eject it
if
[
-z
"
$device
"
]
;
then
return
0
fi
...
...
usr/lib/live-installer/partitioning.py
Dosyayı görüntüle @
6c5bdc58
...
...
@@ -188,7 +188,7 @@ class PartitionSetup(Gtk.TreeStore):
def
_get_attached_disks
():
disks
=
[]
exclude_devices
=
[
'/dev/sr0'
,
'/dev/sr1'
,
'/dev/cdrom'
,
'/dev/dvd'
,
'/dev/fd0'
]
live_device
=
commands
.
getoutput
(
"findmnt -n -o source /
lib/live/mount
/medium"
)
.
split
(
'
\n
'
)[
0
]
live_device
=
commands
.
getoutput
(
"findmnt -n -o source /
run/live
/medium"
)
.
split
(
'
\n
'
)[
0
]
live_device
=
re
.
sub
(
'[0-9]+$'
,
''
,
live_device
)
# remove partition numbers if any
if
live_device
is
not
None
and
live_device
.
startswith
(
'/dev/'
):
exclude_devices
.
append
(
live_device
)
...
...
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