Kaydet (Commit) 7cb697f7 authored tarafından Your Name's avatar Your Name

config use build

üst 09af6fd0
......@@ -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
[ "$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
......
#!/bin/bash
set -e
[ -f /etc/initrd.conf ] && . /etc/initrd.conf
. /lib/initrd/build-functions.sh
parse_args $*
. /lib/initrd/common.sh
......
......@@ -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)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment