Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
core
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
85
Issues
85
List
Boards
Labels
Service Desk
Milestones
Iterations
Merge Requests
32
Merge Requests
32
Requirements
Requirements
List
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Operations
Operations
Incidents
Environments
Analytics
Analytics
CI / CD
Code Review
Insights
Issue
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Chakra
Packages
core
Commits
7be5e504
Commit
7be5e504
authored
Jun 09, 2012
by
abveritas
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
udev move to /usr/lib, trying new dep hwids for better usb printer .db
parent
37529c4c
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
35 additions
and
16 deletions
+35
-16
hwids/PKGBUILD
hwids/PKGBUILD
+20
-0
udev/PKGBUILD
udev/PKGBUILD
+12
-13
udev/initcpio-install-udev
udev/initcpio-install-udev
+3
-3
No files found.
hwids/PKGBUILD
0 → 100644
View file @
7be5e504
#
# Core Packages for Chakra, part of chakra-project.org
#
# maintainer abveritas@chakra-project.org
pkgname
=
hwids
pkgver
=
20120512
pkgrel
=
1
pkgdesc
=
"hardware identification databases"
url
=
https://github.com/Flameeyes/hwids
license
=(
'GPL2'
)
arch
=(
'any'
)
source
=(
"https://github.com/Flameeyes/
${
pkgname
}
/tarball/
${
pkgname
}
-
${
pkgver
}
"
)
md5sums
=(
'd530009df4967b5ece996262f4e39851'
)
package
()
{
cd
${
srcdir
}
/
*
mkdir
-p
"
${
pkgdir
}
/usr/share/hwdata"
cp
pci.ids usb.ids
"
${
pkgdir
}
/usr/share/hwdata/"
}
udev/PKGBUILD
View file @
7be5e504
...
...
@@ -5,9 +5,9 @@
pkgname
=
udev
pkgver
=
182
pkgrel
=
1
pkgrel
=
2
pkgdesc
=
"The userspace dev tools (udev)"
depends
=(
'util-linux'
'libusb-compat'
'glib2'
'kmod'
'
pciutils'
'usbutils'
'acl
'
)
depends
=(
'util-linux'
'libusb-compat'
'glib2'
'kmod'
'
acl'
'hwids
'
)
install
=
udev.install
arch
=(
i686 x86_64
)
license
=(
'GPL'
)
...
...
@@ -17,7 +17,7 @@ source=(ftp://ftp.kernel.org/pub/linux/utils/kernel/hotplug/$pkgname-$pkgver.tar
initcpio-install-udev
)
md5sums
=(
'023877e6cc0d907994b8c648beab542b'
'a4dd853050bf2e0ae6b2e3d2c75499c2'
'
ee0bfe91a20fff12cc25ab1d1e024853
'
)
'
d2b16edc6d806b5dafdbbad43ae5a3de
'
)
url
=
"http://git.kernel.org/?p=linux/hotplug/udev.git;a=summary"
backup
=(
etc/udev/udev.conf
)
groups
=(
'base'
)
...
...
@@ -29,10 +29,11 @@ build() {
./configure
--prefix
=
/usr
\
--with-rootprefix
=
\
--sysconfdir
=
/etc
\
--libdir
=
/usr/lib
\
--libexecdir
=
/lib
\
--libexecdir
=
/usr/lib
\
--with-systemdsystemunitdir
=
/lib/systemd/system
\
--enable-udev_acl
--with-usb-ids-path
=
/usr/share/hwdata/usb.ids
\
--with-pci-ids-path
=
/usr/share/hwdata/pci.ids
\
--with-firmware-path
=
/usr/lib/firmware/updates:/lib/firmware/updates:/usr/lib/firmware:/lib/firmware
make
}
...
...
@@ -49,14 +50,12 @@ package() {
ln
-s
../usr/bin/udevadm
${
pkgdir
}
/sbin/udevadm
# Replace dialout/tape/cdrom group in rules with uucp/storage/optical group
for
i
in
$pkgdir
/lib/udev/rules.d/
*
.rules
;
do
sed
-i
-e
's#GROUP="dialout"#GROUP="uucp"#g;
s#GROUP="tape"#GROUP="storage"#g;
s#GROUP="cdrom"#GROUP="optical"#g'
$i
done
sed
-i
's#GROUP="dialout"#GROUP="uucp"#g;
s#GROUP="tape"#GROUP="storage"#g;
s#GROUP="cdrom"#GROUP="optical"#g'
"
$pkgdir
"
/usr/lib/udev/rules.d/
*
.rules
# install the mkinitpcio hook
install
-D
-m644
../initcpio-hooks-udev
${
pkgdir
}
/lib/initcpio/hooks/udev
install
-D
-m644
../initcpio-install-udev
${
pkgdir
}
/lib/initcpio/install/udev
install
-D
m644
"
$srcdir
/initcpio-install-udev"
"
$pkgdir
/usr/lib/initcpio/install/udev"
install
-D
m644
"
$srcdir
/initcpio-hooks-udev"
"
$pkgdir
/usr/lib/initcpio/hooks/udev"
}
udev/initcpio-install-udev
View file @
7be5e504
...
...
@@ -4,14 +4,14 @@ build() {
FILES
=
"/etc/udev/udev.conf"
SCRIPT
=
"udev"
add_binary /lib/udev/udevd
add_binary /
usr/
lib/udev/udevd
add_binary /usr/bin/udevadm
for
rules
in
50-udev-default.rules 60-persistent-storage.rules 80-drivers.rules
;
do
add_file
"/lib/udev/rules.d/
$rules
"
add_file
"/
usr/
lib/udev/rules.d/
$rules
"
done
for
tool
in
ata_id scsi_id
;
do
add_file
"/lib/udev/
$tool
"
add_file
"/
usr/
lib/udev/
$tool
"
done
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment