2 Commits

Author SHA1 Message Date
Jay Larson
ecde2ef97f Added etc/udev/rules.d 2017-06-01 13:40:22 -05:00
Jay Larson
f8bfd8f7a6 Removed quotes around chroot command in usher 2017-05-21 09:50:26 -05:00
2 changed files with 3 additions and 2 deletions

View File

@@ -15,7 +15,7 @@ export URL = http://www.gentoo.org/proj/en/eudev/
BRIEF = Fork of udev BRIEF = Fork of udev
DESC = eudev is a fork of system-udev with the goal of obtaining better \ DESC = eudev is a fork of system-udev with the goal of obtaining better \
compatibility with existing software compatibility with existing software
SNAPVER = 5 SNAPVER = 7
ARCHIVE := $(PWD)/SRC/$(shell ls SRC|egrep '(bz2|gz|tar|xz)$$'|tail -1) ARCHIVE := $(PWD)/SRC/$(shell ls SRC|egrep '(bz2|gz|tar|xz)$$'|tail -1)
TYPE := $(shell file -ib $(ARCHIVE)|cut -d';' -f1|tr -d '\n') TYPE := $(shell file -ib $(ARCHIVE)|cut -d';' -f1|tr -d '\n')
@@ -80,6 +80,7 @@ $(ROOT): $(SRCDIR)/src/udev/udevd
@cd $(SRCDIR) && make install DESTDIR=$(ROOT) && \ @cd $(SRCDIR) && make install DESTDIR=$(ROOT) && \
install -v -d -m 755 $(ROOT)/etc/init.d && \ install -v -d -m 755 $(ROOT)/etc/init.d && \
install -v -d -m 755 $(ROOT)/etc/udev/rules.d && \
install -v -d -m 755 $(ROOT)/usr/share/eudev && \ install -v -d -m 755 $(ROOT)/usr/share/eudev && \
mv -v $(ROOT)/etc/udev/udev.conf $(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

View File

@@ -16,7 +16,7 @@ case $1 in
/etc/init.d/udevd restart /etc/init.d/udevd restart
update-rc enable udevd update-rc enable udevd
else else
chroot ${TARGET} 'update-rc enable udevd' chroot ${TARGET} update-rc enable udevd
fi fi
;; ;;
prerm) prerm)