Casper doesn't properly support NFSOPTS
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
casper (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
From https:/
nfsroot=
NFSOPTS are properly supported by initramfs-
if [ "${NFSROOT#*,}" != "${NFSROOT}" ]; then
NFSOPTS="-o ${NFSROOT#*,}"
fi
But casper doesn't support them properly like this.
Casper assumes that the scripts/nfs code has already ran and set NFSOPTS, which it didn't.
So the only way to set NFSOPTS with casper is to actually pass NFSOPTS=xxx in the kernel cmdline; the kernel itself then passes this as an init parameter.
This behavior is wrong and undocumented, NFSOPTS isn't a kernel parameter but an internal variable of initramfs-
tags: | added: patch |
Changed in casper (Ubuntu): | |
status: | New → Confirmed |