Skip to content
Projeler
Gruplar
Parçacıklar
Yardım
Yükleniyor...
Oturum aç / Kaydol
Gezinmeyi değiştir
I
initrd
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
initrd
Commits
7cb697f7
Kaydet (Commit)
7cb697f7
authored
Şub 28, 2021
tarafından
Your Name
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
config use build
üst
09af6fd0
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
5 additions
and
4 deletions
+5
-4
00-modules.sh
src/addons/00-modules.sh
+2
-2
99-config.sh
src/addons/99-config.sh
+1
-2
build.sh
src/build.sh
+1
-0
common.sh
src/common.sh
+1
-0
No files found.
src/addons/00-modules.sh
Dosyayı görüntüle @
7cb697f7
...
...
@@ -29,5 +29,5 @@ else
find
${
WORKDIR
}
/
${
MODDIR
}
|
grep
debug | xargs
rm
-rf
fi
fi
find
${
WORKDIR
}
/lib/modules/
*
|
grep
".ko.xz"
| xargs xz
-d
||
true
find
${
WORKDIR
}
/lib/modules/
*
|
grep
".ko.gz"
| xargs
gzip
-d
||
true
find
${
WORKDIR
}
/lib/modules/
*
|
grep
".ko.xz"
| xargs xz
-d
&> /dev/null
||
true
find
${
WORKDIR
}
/lib/modules/
*
|
grep
".ko.gz"
| xargs
gzip
-d
&> /dev/null
||
true
src/addons/99-config.sh
Dosyayı görüntüle @
7cb697f7
[
"
$CONFIG
"
!=
""
]
||
CONFIG
=
/etc/initrd.conf
debug
"Using config"
"
$CONFIG
"
inf
"Using config"
"
$CONFIG
"
mkdir
-p
${
WORKDIR
}
/etc
if
[
-f
$CONFIG
]
;
then
cat
${
CONFIG
}
>
${
WORKDIR
}
/etc/initrd.conf
...
...
src/build.sh
Dosyayı görüntüle @
7cb697f7
#!/bin/bash
set
-e
[
-f
/etc/initrd.conf
]
&&
.
/etc/initrd.conf
.
/lib/initrd/build-functions.sh
parse_args
$*
.
/lib/initrd/common.sh
...
...
src/common.sh
Dosyayı görüntüle @
7cb697f7
...
...
@@ -18,6 +18,7 @@ if [ "$LANG" == "" ] ; then
fi
fi
[
"
${
CPIO_COMPRESS
}
"
==
""
]
&&
CPIO_COMPRESS
=
cat
[
"
$CONFIG
"
!=
""
]
||
CONFIG
=
/etc/initrd.conf
LANGFILE
=
${
LANGDIR
}
/
$(
echo
$LANG
)
.txt
msg
()
{
message
=
$(
translate
$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