mirror of
https://github.com/fosslinux/live-bootstrap.git
synced 2026-03-18 17:25:24 +01:00
Support reboot in non-chroot modes using grub and an init script
We use grub-2.06 as 2.12 has some packaging issues, and can't be built in live-bootstrap for now.
This commit is contained in:
parent
eb3414c2da
commit
6d26855dc6
9 changed files with 168 additions and 2 deletions
39
steps/grub-2.06/import-gnulib.sh
Normal file
39
steps/grub-2.06/import-gnulib.sh
Normal file
|
|
@ -0,0 +1,39 @@
|
|||
#!/bin/sh
|
||||
|
||||
# SPDX-FileCopyrightText: 2021 Melg Eight <public.melg8@gmail.com>
|
||||
# SPDX-FileCopyrightText: 2023 fosslinux <fosslinux@aussies.space>
|
||||
# SPDX-FileCopyrightText: 2024 Gábor Stefanik <netrolller.3d@gmail.com>
|
||||
#
|
||||
# SPDX-License-Identifier: GPL-3.0-or-later
|
||||
|
||||
# Regenerate unicode files
|
||||
pushd ../gnulib-d271f86/lib
|
||||
gcc -Iunictype -o gen-uni-tables gen-uni-tables.c
|
||||
mv ../../*.txt .
|
||||
./gen-uni-tables UnicodeData-9.0.0.txt PropList-9.0.0.txt DerivedCoreProperties-9.0.0.txt ArabicShaping-9.0.0.txt Scripts-9.0.0.txt Blocks-9.0.0.txt PropList-3.0.1.txt EastAsianWidth-9.0.0.txt LineBreak-9.0.0.txt WordBreakProperty-9.0.0.txt GraphemeBreakProperty-9.0.0.txt CompositionExclusions-9.0.0.txt SpecialCasing-9.0.0.txt CaseFolding-9.0.0.txt 9.0
|
||||
popd
|
||||
|
||||
../gnulib-d271f86/gnulib-tool --import --local-dir=gl \
|
||||
--lib=libgnu \
|
||||
--source-base=grub-core/lib/gnulib \
|
||||
--m4-base=m4 \
|
||||
--doc-base=doc \
|
||||
--tests-base=tests \
|
||||
--aux-dir=build-aux \
|
||||
--no-conditional-dependencies \
|
||||
--no-libtool \
|
||||
--macro-prefix=gl \
|
||||
--no-vc-files \
|
||||
argp \
|
||||
base64 \
|
||||
error \
|
||||
fnmatch \
|
||||
getdelim \
|
||||
getline \
|
||||
gettext-h \
|
||||
gitlog-to-changelog \
|
||||
mbswidth \
|
||||
progname \
|
||||
realloc-gnu \
|
||||
regex \
|
||||
save-cwd
|
||||
Loading…
Add table
Add a link
Reference in a new issue