mirror of
https://gitlab.archlinux.org/tpowa/archboot.git
synced 2024-09-20 03:50:37 +02:00
fix init ramdisk moving on riscv64
This commit is contained in:
parent
ef1ac34daa
commit
e650a3bd7d
2 changed files with 3 additions and 4 deletions
|
@ -1,4 +1,4 @@
|
||||||
On the road to 2023.05
|
On the road to 2023.05:
|
||||||
Environment changes:
|
Environment changes:
|
||||||
- remove parport, pata, pcmcia and staging modules
|
- remove parport, pata, pcmcia and staging modules
|
||||||
- cleanup init ramdisk modules
|
- cleanup init ramdisk modules
|
||||||
|
|
|
@ -62,6 +62,7 @@ _create_iso() {
|
||||||
# create boot directory with ramdisks
|
# create boot directory with ramdisks
|
||||||
echo "Creating boot directory..."
|
echo "Creating boot directory..."
|
||||||
mkdir -p boot/
|
mkdir -p boot/
|
||||||
|
mv init-* boot/
|
||||||
if [[ "${_ARCH}" == "riscv64" ]]; then
|
if [[ "${_ARCH}" == "riscv64" ]]; then
|
||||||
for i in *.img; do
|
for i in *.img; do
|
||||||
if echo "${i}" | grep -v local | grep -vq latest; then
|
if echo "${i}" | grep -v local | grep -vq latest; then
|
||||||
|
@ -130,10 +131,8 @@ _create_iso() {
|
||||||
mv "${_W_DIR}"/boot ./
|
mv "${_W_DIR}"/boot ./
|
||||||
rm "${_CMDLINE}"
|
rm "${_CMDLINE}"
|
||||||
chmod 644 boot/*.efi
|
chmod 644 boot/*.efi
|
||||||
mv init-* boot/
|
|
||||||
touch boot/*
|
|
||||||
|
|
||||||
fi
|
fi
|
||||||
|
touch boot/*
|
||||||
# create Release.txt with included main archlinux packages
|
# create Release.txt with included main archlinux packages
|
||||||
echo "Generating Release.txt..."
|
echo "Generating Release.txt..."
|
||||||
(echo "Welcome to ARCHBOOT INSTALLATION / RESCUEBOOT SYSTEM";\
|
(echo "Welcome to ARCHBOOT INSTALLATION / RESCUEBOOT SYSTEM";\
|
||||||
|
|
Loading…
Reference in a new issue