Compare commits
2 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
ecde2ef97f | ||
|
|
f8bfd8f7a6 |
3
Makefile
3
Makefile
@@ -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
|
||||||
|
|||||||
@@ -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)
|
||||||
|
|||||||
Reference in New Issue
Block a user