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
db2b604f
Kaydet (Commit)
db2b604f
authored
Haz 11, 2020
tarafından
Your Name
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
fix 1
üst
d3931651
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
29 additions
and
1 deletion
+29
-1
Makefile
Makefile
+28
-0
installer.py
live-installer/installer.py
+1
-1
No files found.
Makefile
0 → 100644
Dosyayı görüntüle @
db2b604f
DESTDIR
=
/
all
:
clean build
build
:
buildmo
mkdir
-p
build/usr/lib/
||
true
cp
-prfv
live-installer build/usr/lib/
#set parmissions
chmod
755
-R
build
chown
root
-R
build
buildmo
:
mkdir
-p
build/usr/share/
||
true
@
echo
"Building the mo files"
# WARNING: the second sed below will only works correctly with the languages that don't contain "-"
for
file
in
`
ls
po/
*
.po
`
;
do
\
lang
=
`
echo
$$
file |
sed
's@po/@@'
|
sed
's/\.po//'
|
sed
's/live-installer-//'
`
;
\
install
-d
build/usr/share/live-installer/locale/
$$
lang/LC_MESSAGES/
;
\
msgfmt
-o
build/usr/share/live-installer/locale/
$$
lang/LC_MESSAGES/live-installer.mo
$$
file
;
\
done
\
install
:
cp
-prfv
build/
*
$(DESTDIR)
/
uninstall
:
rm
-rf
$(DESTDIR)
//usr/lib/live-installer
clean
:
rm
-rf
build
live-installer/installer.py
Dosyayı görüntüle @
db2b604f
...
...
@@ -23,7 +23,7 @@ class InstallerEngine:
#sys.stdout = os.fdopen(sys.stdout.fileno(), 'w', 0)
# find the squashfs..
self
.
media
=
'/
run/live/medium/live/filesystem.squashfs
'
self
.
media
=
'/
dev/loop0
'
if
(
not
os
.
path
.
exists
(
self
.
media
)):
print
(
"Critical Error: Live medium (
%
s) not found!"
%
self
.
media
)
#sys.exit(1)
...
...
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