Use of a Linux initramfs to fully automate the bootstrapping process
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

20 lines
396 B

# SPDX-FileCopyrightText: 2021 Andrius Štikonas <andrius@stikonas.eu>
#
# SPDX-License-Identifier: GPL-3.0-or-later
src_prepare() {
default
mv lib/fnmatch.in.h lib/fnmatch.h
# Rebuild bison pre-generated file
rm lib/getdate.c
cd lib
bison --update getdate.y
bison getdate.y
mv getdate.tab.c getdate.c
cd ..
touch config.h
touch lib/configmake.h
}