prepare-root.sh: don't move away vmlinuz
This commit is contained in:
parent
61f55d1612
commit
ddbef9392b
|
@ -466,7 +466,8 @@ sed -i -e "s#VERSION_ID=.*#VERSION_ID=$VERSION_ID#" "$sysroot"/etc/os-release
|
||||||
sed -i -e "s#NAME=.*#NAME=$NAME#" "$sysroot"/etc/os-release
|
sed -i -e "s#NAME=.*#NAME=$NAME#" "$sysroot"/etc/os-release
|
||||||
|
|
||||||
mv -v "$sysroot"/boot/*/*/initrd "$MY_TMPDIR"/
|
mv -v "$sysroot"/boot/*/*/initrd "$MY_TMPDIR"/
|
||||||
mv -v "$sysroot"/lib/modules/*/vmlinuz "$MY_TMPDIR"/linux
|
cp "$sysroot"/lib/modules/*/vmlinuz "$MY_TMPDIR"/linux
|
||||||
|
|
||||||
rm -fr "$sysroot"/{boot,root}
|
rm -fr "$sysroot"/{boot,root}
|
||||||
ln -sfnr "$sysroot"/data/root "$sysroot"/root
|
ln -sfnr "$sysroot"/data/root "$sysroot"/root
|
||||||
mkdir -p "$sysroot"/usr/etc
|
mkdir -p "$sysroot"/usr/etc
|
||||||
|
|
Loading…
Reference in a new issue