projects
/
librecmc
/
librecmc.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
procd: nand: make it possible to configure kernel and ubi partition
[librecmc/librecmc.git]
/
package
/
system
/
procd
/
files
/
nand.sh
diff --git
a/package/system/procd/files/nand.sh
b/package/system/procd/files/nand.sh
index ebaaf2aa16009cc1431dbb79ba9f689c8b636069..01dba616444e91dd32834bb98e97f5ff832318bc 100644
(file)
--- a/
package/system/procd/files/nand.sh
+++ b/
package/system/procd/files/nand.sh
@@
-5,10
+5,10
@@
. /lib/functions.sh
# 'kernel' partition on NAND contains the kernel
-CI_KERNPART="
kernel
"
+CI_KERNPART="
${CI_KERNPART:-kernel}
"
# 'ubi' partition on NAND contains UBI
-CI_UBIPART="
ubi
"
+CI_UBIPART="
${CI_UBIPART:-ubi}
"
ubi_mknod() {
local dir="$1"