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
2bd5d916
Kaydet (Commit)
2bd5d916
authored
Haz 12, 2020
tarafından
root
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
fix
üst
e9be858b
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
8 deletions
+4
-8
Makefile
Makefile
+3
-3
installer.py
live-installer/installer.py
+1
-5
No files found.
Makefile
Dosyayı görüntüle @
2bd5d916
...
...
@@ -3,8 +3,8 @@ DESTDIR=/
all
:
clean build
build
:
mkdir
-p
build/usr/l
ocal/l
ib/
||
true
cp
-prfv
live-installer build/usr/l
ocal/l
ib/
mkdir
-p
build/usr/lib/
||
true
cp
-prfv
live-installer build/usr/lib/
#set parmissions
chmod
755
-R
build
chown
root
-R
build
...
...
@@ -13,6 +13,6 @@ install:
cp
-prfv
build/
*
$(DESTDIR)
/
uninstall
:
rm
-rf
$(DESTDIR)
//usr/l
ocal/l
ib/live-installer
rm
-rf
$(DESTDIR)
//usr/lib/live-installer
clean
:
rm
-rf
build
live-installer/installer.py
100644 → 100755
Dosyayı görüntüle @
2bd5d916
...
...
@@ -119,13 +119,9 @@ class InstallerEngine:
False
,
(
"Adding new user to the system"
))
#TODO: support encryption
self
.
do_run_in_chroot
(
'useradd {username}'
.
format
(
username
=
self
.
setup
.
username
))
self
.
do_run_in_chroot
(
"echo -ne
\"
{0}
\\
n{0}
\\
n
\"
| passwd {
2
}"
.
format
(
self
.
setup
.
password1
,
self
.
setup
.
username
))
self
.
do_run_in_chroot
(
"echo -ne
\"
{0}
\\
n{0}
\\
n
\"
| passwd {
1
}"
.
format
(
self
.
setup
.
password1
,
self
.
setup
.
username
))
self
.
do_run_in_chroot
(
"echo -ne
\"
{0}
\\
n{0}
\\
n
\"
| passwd"
.
format
(
self
.
setup
.
password1
))
# Set LightDM to show user list by default
self
.
do_run_in_chroot
(
r"sed -i -r 's/^#?(greeter-hide-users)\s*=.*/\1=false/' /etc/lightdm/lightdm.conf"
)
# Set autologin for user if they so elected
if
self
.
setup
.
autologin
:
# LightDM
...
...
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