5 Commits

Author SHA1 Message Date
Jay Larson
cae06ab9b9 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
2018-04-06 12:08:08 -05:00
root
79c2b8af49 Re-compiled without requirement for liblzma (xz) and zlib 2017-06-11 22:15:21 +00:00
Jay Larson
6dcb8c16e2 Corrected issue in Makefile preventing packaging etc/udev/rules.d 2017-06-02 12:05:23 -05:00
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
4 changed files with 15 additions and 29 deletions

View File

@@ -9,13 +9,14 @@
# GNU General Public License for more details.
export SRCPKG = eudev
export DEPENDS = glibc,kmod,util-linux,xz,zlib
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 = 5
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) && \
@@ -94,6 +95,8 @@ $(ROOT): $(SRCDIR)/src/udev/udevd
find $(ROOT) -type d -empty -delete && \
cd $(DEV) && make -f ../Makefile.eudev-dev && mv *.snap ../
@install -v -d -m 755 $(ROOT)/etc/udev/rules.d
test: $(ROOT)
@cd $(SRCDIR); \
make check

View File

@@ -1,4 +1,4 @@
#!/bin/bash
#!/bin/sh
set -e
@@ -7,17 +7,17 @@ case $1 in
exit 0
;;
postinst)
if [ ! -f ${TARGET}/etc/udev/udev.conf ]; then
install -m 644 ${TARGET}/usr/share/eudev/udev.conf \
${TARGET}/etc/udev/udev.conf
if [ ! -f /etc/udev/udev.conf ]; then
install -m 644 /usr/share/eudev/udev.conf /etc/udev/udev.conf
fi
if [[ ! ${TARGET} ]]; then
if [ "$(stat -c %d/%i /)" = "$(stat -Lc %d/%i \
/proc/1/root 2>/dev/null)" ]; then
/etc/init.d/udevd restart
update-rc enable udevd
else
chroot ${TARGET} 'update-rc enable udevd'
fi
update-rc enable udevd
mkinitramfs all
;;
prerm)
exit 0

Binary file not shown.

View File

@@ -1,17 +0,0 @@
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2
iQIcBAABCAAGBQJXTy0eAAoJEGYZIgZZJvHWUZEP/1Zla1UrClRO335ClvQZNbcQ
GiFAsAue9EbfQc6ljiYwgVZPQ0N9NzbNI7A5By+pALw0w/NQFpYMYt4MqkRoK5SH
++/GzGIePIh4/f0+C+7uoTinGYjcoOIR6OMUYIzJD+oRxWRHWVd4ZVT/5mNgwW4z
8gEl7Ayj5Zxm0rK0m2EbIoUq80vrcJJmfnYO0mAI2mv1cDKK9H76IiHg2daHy58g
Yc3rG3/sxMfEmG8w3TFaJroF8KZVJcClTKs8ijQuosFVZtNvV1H18xhhCUA2FX09
3dNvfXhS0g9Hcb/OReCxGM7Ga6sm/KUv54WIWvtO5AMj+H1TFyyxc1IA6s4ttXjs
J8VLI8DCBlFfGcid2MvVyR7bkCs350Dt++wWVhdZ3uRgqasANcfq7DuzlNfGc3bW
fI04BZhCWGhqroVq/rLmYFm8bx2ZKqqtmvMCHZeXXbgZuyP8xwelM/90zT5c27eR
41zxq+CYWLp364RyVoKqxnjcLLlAim83e5jtC5HnTZJ6+YjGUxeU6X+qv+m/nLVv
cHvpKCSoOAtLckQSf/2276QKsHA5tgjayAWGzM6Ct8GwNQmqp5vIoZMmcSMAJvQP
20kqAEuK+qWq88bT5UYUdSuSQh7JLFM77xG4kHiFs2/PjCJAYFDJsTJ0f3xKyJbJ
9pVqWMR9BcAicbtS/Ipk
=SOmd
-----END PGP SIGNATURE-----