1. Place make.sh and cfg.h in the top level systemd directory
2. Comment out an unneeded header that we don't have sed -i -e 's#^.*capability.h#//&#' src/shared/util.c3. Run 'sh make.sh'. On my system it takes 9 seconds vs the systemd time of about 60 seconds.
The executables will be in the build directory. I still need to create install.sh Eventually, we can cut the book's instructions down to: patch -Np1 -i ../systemd-183-udev_only-1.patch sh make.sh sh install.sh -------- I also need to do testing, but it's looking OK for now. Let me know if you can see some ways to improve the script. -- Bruce
/* Define to 1 if you have the <dlfcn.h> header file. */ #define HAVE_DLFCN_H 1 /* Define to 1 if you have the <inttypes.h> header file. */ #define HAVE_INTTYPES_H 1 /* Define to 1 if you have the <memory.h> header file. */ #define HAVE_MEMORY_H 1 /* Define to 1 if you have the <stdint.h> header file. */ #define HAVE_STDINT_H 1 /* Define to 1 if you have the <stdlib.h> header file. */ #define HAVE_STDLIB_H 1 /* Define to 1 if you have the <strings.h> header file. */ #define HAVE_STRINGS_H 1 /* Define to 1 if you have the <string.h> header file. */ #define HAVE_STRING_H 1 /* Define to 1 if you have the <sys/stat.h> header file. */ #define HAVE_SYS_STAT_H 1 /* Define to 1 if you have the <sys/types.h> header file. */ #define HAVE_SYS_TYPES_H 1 /* Define to 1 if you have the <unistd.h> header file. */ #define HAVE_UNISTD_H 1 /* Define if XZ is available */ #define HAVE_XZ 1 /* Define to 1 if you have the ANSI C header files. */ #define STDC_HEADERS 1 /* Enable GNU extensions on systems that have them. */ #define _GNU_SOURCE 1 /* Version number of package */ #define VERSION "183"
make.sh
Description: Bourne shell script
-- http://linuxfromscratch.org/mailman/listinfo/lfs-dev FAQ: http://www.linuxfromscratch.org/faq/ Unsubscribe: See the above information page