SampleApplication: Disable the schroot mapping.
Disable the schroot mapping data from native env to the chroot env. Tracked-On: #7820 Signed-off-by: Liu Long <long.liu@linux.intel.com>
This commit is contained in:
parent
93b4a6e45d
commit
42f0878f0a
|
@ -100,7 +100,7 @@ function copy_and_enlarge_image() {
|
||||||
|
|
||||||
qemu-img convert -f qcow2 -O raw ${source_image} ${dest_image} && \
|
qemu-img convert -f qcow2 -O raw ${source_image} ${dest_image} && \
|
||||||
qemu-img resize -f raw ${dest_image} ${size_modifier} && \
|
qemu-img resize -f raw ${dest_image} ${size_modifier} && \
|
||||||
growpart ${dest_image} 1
|
LANG=C growpart ${dest_image} 1
|
||||||
}
|
}
|
||||||
|
|
||||||
function dump_proxy() {
|
function dump_proxy() {
|
||||||
|
@ -147,6 +147,7 @@ personality=linux
|
||||||
preserve-environment=true
|
preserve-environment=true
|
||||||
EOF
|
EOF
|
||||||
|
|
||||||
|
sudo sed -i -e '3,9 s/^/#/' /etc/schroot/default/nssdatabases && \
|
||||||
sudo mv ${temp_file} /etc/schroot/chroot.d/acrn-guest && \
|
sudo mv ${temp_file} /etc/schroot/chroot.d/acrn-guest && \
|
||||||
sudo chown root:root /etc/schroot/chroot.d/acrn-guest
|
sudo chown root:root /etc/schroot/chroot.d/acrn-guest
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue