Changeset 86b1ebc for udev-lfs


Ignore:
Timestamp:
01/09/2013 06:55:19 PM (11 years ago)
Author:
Bruce Dubbs <bdubbs@…>
Branches:
10.0, 10.0-rc1, 10.1, 10.1-rc1, 11.0, 11.0-rc1, 11.0-rc2, 11.0-rc3, 11.1, 11.1-rc1, 11.2, 11.2-rc1, 11.3, 11.3-rc1, 12.0, 12.0-rc1, 12.1, 12.1-rc1, 7.3, 7.4, 7.5, 7.5-systemd, 7.6, 7.6-systemd, 7.7, 7.7-systemd, 7.8, 7.8-systemd, 7.9, 7.9-systemd, 8.0, 8.1, 8.2, 8.3, 8.4, 9.0, 9.1, arm, bdubbs/gcc13, ml-11.0, multilib, renodr/libudev-from-systemd, s6-init, trunk, xry111/arm64, xry111/arm64-12.0, xry111/clfs-ng, xry111/lfs-next, xry111/loongarch, xry111/loongarch-12.0, xry111/loongarch-12.1, xry111/mips64el, xry111/pip3, xry111/rust-wip-20221008, xry111/update-glibc
Children:
cdd87ad
Parents:
56dfe5b
Message:

Update udev-lfs scripts
Update to systemd-197
Reformat 'Rebooting the System' recommendations

git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@10093 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689

Location:
udev-lfs
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • udev-lfs/Makefile.lfs

    r56dfe5b r86b1ebc  
    55
    66SHELL=/bin/bash
    7 SYSTEMD_VERSION=196
    8 VERSION=196-3
     7SYSTEMD_VERSION=197
     8VERSION=197-1
    99
    1010ifeq ($(V),)
     
    8080              dev-setup.c   \
    8181              sd-login.c    \
    82               sd-daemon.c
     82              sd-daemon.c   \
     83              time-util.c
    8384
    8485COMMON_OBJS := $(addprefix build/, $(COMMON_SRCS:.c=.o))
     
    147148        < $< > $@
    148149
     150SECURE = $(shell if nm /lib/libc.so.6 | grep -q " secure_getenv"; \
     151then echo yes; fi)
     152
     153ifeq "$(SECURE)" "yes"
     154   SECURE_GETENV = SECURE_GETENV
     155else
     156   SECURE_GETENV = __SECURE_GETENV
     157endif
    149158
    150159udev: common                     \
     
    164173
    165174cfg.h: udev-lfs-$(VERSION)/cfg.h
    166         sed  -e 's/LFS-VERSION/$(SYSTEMD_VERSION)/' udev-lfs-$(VERSION)/cfg.h > ./cfg.h
     175        sed  -e 's/LFS-VERSION/$(SYSTEMD_VERSION)/' \
     176        -e 's/SECURE_GETENV/$(SECURE_GETENV)/' \
     177        udev-lfs-$(VERSION)/cfg.h > ./cfg.h
    167178        @mkdir -p build
    168179
  • udev-lfs/cfg.h

    r56dfe5b r86b1ebc  
     1/* Custom udev (from systemd) configuration header file for LFS */
     2
    13/* Define to 1 if you have the <dlfcn.h> header file. */
    24#define HAVE_DLFCN_H 1
     
    1315/* Define to 1 if you have the <memory.h> header file. */
    1416#define HAVE_MEMORY_H 1
     17
     18/* Define to 1 if you have the `secure_getenv' function. */
     19/* For glibc before 2.17, this should be HAVE___SECURE_GETENV */
     20#define HAVE_SECURE_GETENV 1
    1521
    1622/* Define to 1 if you have the <stdint.h> header file. */
     
    5763#define HAVE_DECL_GETTID 0
    5864#define HAVE_NAME_TO_HANDLE_AT 1
    59 #define HAVE___SECURE_GETENV 1
Note: See TracChangeset for help on using the changeset viewer.