Skip to content
Snippets Groups Projects
Commit 93aa8604 authored by Christian Lamparter's avatar Christian Lamparter Committed by John Crispin
Browse files

procd: nand: make it possible to configure kernel and ubi partition


With this patch, the nand.sh script no longer overwrites
CI_KERNELPART and CI_UBIPART if they have been set before.

This allows platforms specify alternative values for these
variables.

Signed-off-by: default avatarChristian Lamparter <chunkeey@gmail.com>
parent cc189c0b
No related branches found
No related tags found
No related merge requests found
......@@ -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"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment