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
28307503
Kaydet (Commit)
28307503
authored
Ock 15, 2020
tarafından
Clement Lefebvre
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Adjust grub title
This was moved to systemd
üst
e1c19dfe
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletion
+3
-1
installer.py
usr/lib/live-installer/installer.py
+3
-1
No files found.
usr/lib/live-installer/installer.py
Dosyayı görüntüle @
28307503
...
...
@@ -488,7 +488,7 @@ class InstallerEngine:
self
.
do_run_in_chroot
(
"rm /etc/default/keyboard"
)
self
.
do_run_in_chroot
(
"mv /etc/default/keyboard.new /etc/default/keyboard"
)
# Perform OS adjustments
(this is needed prior to installing grub)
# Perform OS adjustments
if
os
.
path
.
exists
(
"/target/usr/lib/linuxmint/mintSystem/mint-adjust.py"
):
self
.
do_run_in_chroot
(
"/usr/lib/linuxmint/mintSystem/mint-adjust.py"
)
...
...
@@ -514,6 +514,7 @@ class InstallerEngine:
print
" --> Configuring Initramfs"
our_current
+=
1
self
.
do_run_in_chroot
(
"/usr/sbin/update-initramfs -t -u -k all"
)
self
.
do_run_in_chroot
(
"/usr/share/debian-system-adjustments/systemd/adjust-grub-title"
)
kernelversion
=
commands
.
getoutput
(
"uname -r"
)
self
.
do_run_in_chroot
(
"/usr/bin/sha1sum /boot/initrd.img-
%
s > /var/lib/initramfs-tools/
%
s"
%
(
kernelversion
,
kernelversion
))
...
...
@@ -568,6 +569,7 @@ class InstallerEngine:
time
.
sleep
(
5
)
found_entry
=
False
if
os
.
path
.
exists
(
"/target/boot/grub/grub.cfg"
):
self
.
do_run_in_chroot
(
"/usr/share/debian-system-adjustments/systemd/adjust-grub-title"
)
grubfh
=
open
(
"/target/boot/grub/grub.cfg"
,
"r"
)
for
line
in
grubfh
:
line
=
line
.
rstrip
(
"
\r\n
"
)
...
...
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