mirror of
https://gitlab.archlinux.org/tpowa/archboot.git
synced 2024-09-19 19:40: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:
|
||||
- remove parport, pata, pcmcia and staging modules
|
||||
- cleanup init ramdisk modules
|
||||
|
|
|
@ -62,6 +62,7 @@ _create_iso() {
|
|||
# create boot directory with ramdisks
|
||||
echo "Creating boot directory..."
|
||||
mkdir -p boot/
|
||||
mv init-* boot/
|
||||
if [[ "${_ARCH}" == "riscv64" ]]; then
|
||||
for i in *.img; do
|
||||
if echo "${i}" | grep -v local | grep -vq latest; then
|
||||
|
@ -130,10 +131,8 @@ _create_iso() {
|
|||
mv "${_W_DIR}"/boot ./
|
||||
rm "${_CMDLINE}"
|
||||
chmod 644 boot/*.efi
|
||||
mv init-* boot/
|
||||
touch boot/*
|
||||
|
||||
fi
|
||||
touch boot/*
|
||||
# create Release.txt with included main archlinux packages
|
||||
echo "Generating Release.txt..."
|
||||
(echo "Welcome to ARCHBOOT INSTALLATION / RESCUEBOOT SYSTEM";\
|
||||
|
|
Loading…
Reference in a new issue