@@ -0,0 +1,30 @@
|
||||
# When the quite boot parameter is passed print warnings and errors only.
|
||||
diff --git a/src/common.sh b/src/common.sh
|
||||
index 609b82d..48eba59 100644
|
||||
--- a/src/common.sh
|
||||
+++ b/src/common.sh
|
||||
@@ -22,12 +22,12 @@ fi
|
||||
LANGFILE=${LANGDIR}/$(echo $LANG).txt
|
||||
msg() {
|
||||
message=$(translate $1)
|
||||
- echo -e " ${C_GREEN}*${C_CLEAR} $message $2"
|
||||
+ [ -n $quiet ] || echo -e " ${C_GREEN}*${C_CLEAR} $message $2"
|
||||
}
|
||||
|
||||
inf() {
|
||||
message=$(translate $1)
|
||||
- echo -e " ${C_CYAN}*${C_CLEAR} $message $2"
|
||||
+ [ -n $quiet ] || echo -e " ${C_CYAN}*${C_CLEAR} $message $2"
|
||||
}
|
||||
debug() {
|
||||
message=$(translate $1)
|
||||
@@ -43,7 +43,7 @@ err() {
|
||||
}
|
||||
translate(){
|
||||
if [ ! -f ${LANGFILE} ] ; then
|
||||
- echo $*
|
||||
+ echo $*
|
||||
return 0
|
||||
fi
|
||||
word=$(cat ${LANGFILE} | grep "$*::" | head -n 1 | sed "s/^.*:://g")
|
||||
--
|
||||
@@ -15,6 +15,7 @@
|
||||
<Archive type="targz" sha1sum="247385149150087f20fb0eff65231029f611a15b">https://gitlab.com/sulinos/devel/initrd/-/archive/1.1.4/initrd-1.1.4.tar.gz</Archive>
|
||||
<Patches>
|
||||
<Patch level="1">0001-Adapted-to-Pisi-Linux.patch</Patch>
|
||||
<Patch level="2">0002-Made-initrd-follow-the-quite-boot-parameter.patch</Patch>
|
||||
</Patches>
|
||||
</Source>
|
||||
|
||||
@@ -30,6 +31,13 @@
|
||||
</Package>
|
||||
|
||||
<History>
|
||||
<Update release="3">
|
||||
<Date>2020-09-08</Date>
|
||||
<Version>1.1.4</Version>
|
||||
<Comment>Rebuild</Comment>
|
||||
<Name>Berk Çakar</Name>
|
||||
<Email>berk2238@hotmail.com</Email>
|
||||
</Update>
|
||||
<Update release="2">
|
||||
<Date>2020-09-06</Date>
|
||||
<Version>1.1.4</Version>
|
||||
|
||||
Reference in New Issue
Block a user