The following changes were made:
* Upgraded to more recent version of eudev * Added REPO * Removed --disable-static * Added udev.conf * usher now uses /bin/sh * Removed TARGET from usher * usher now checks for chroot and runs udevd restart if not in chroot * usher now executes mkinitramfs
This commit is contained in:
7
Makefile
7
Makefile
@@ -12,10 +12,11 @@ export SRCPKG = eudev
|
||||
export DEPENDS = glibc,kmod,util-linux
|
||||
export ARCH = x86_64
|
||||
export URL = http://www.gentoo.org/proj/en/eudev/
|
||||
export REPO = core
|
||||
BRIEF = Fork of udev
|
||||
DESC = eudev is a fork of system-udev with the goal of obtaining better \
|
||||
compatibility with existing software
|
||||
SNAPVER = 9
|
||||
SNAPVER = 0
|
||||
|
||||
ARCHIVE := $(PWD)/SRC/$(shell ls SRC|egrep '(bz2|gz|tar|xz)$$'|tail -1)
|
||||
TYPE := $(shell file -ib $(ARCHIVE)|cut -d';' -f1|tr -d '\n')
|
||||
@@ -61,7 +62,6 @@ $(SRCDIR)/config.log: $(SRCDIR)/configure
|
||||
--with-rootprefix= \
|
||||
--with-rootlibdir=/lib \
|
||||
--enable-split-usr \
|
||||
--disable-static \
|
||||
--enable-manpages \
|
||||
--enable-rule-generator \
|
||||
--build=x86_64-snap-linux-gnu \
|
||||
@@ -82,7 +82,8 @@ $(ROOT): $(SRCDIR)/src/udev/udevd
|
||||
install -v -d -m 755 $(ROOT)/etc/init.d && \
|
||||
install -v -d -m 755 $(ROOT)/usr/share/eudev && \
|
||||
mv -v $(ROOT)/etc/udev/udev.conf $(ROOT)/usr/share/eudev && \
|
||||
install -v -m 755 $(PWD)/SNAP/udevd.init $(ROOT)/etc/init.d/udevd
|
||||
install -v -m 755 $(PWD)/SNAP/udevd.init $(ROOT)/etc/init.d/udevd && \
|
||||
install -v -m 644 $(PWD)/SNAP/udev.conf $(ROOT)/etc/udev/udev.conf
|
||||
|
||||
@install -v -d $(DEV)/SNAP && \
|
||||
install -v -d $(DEVROOT) && \
|
||||
|
||||
Reference in New Issue
Block a user