add first implementation of ntfs-policy for HAL
git-svn-id: http://svn.sabayonlinux.org/overlay@108 d7aec97c-591d-0410-af39-a8856400b30a
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
AUX 99-ntfs-policy.fdi 646 RMD160 62f5bb6805e18c389f0c02338fd46edad9e675dc SHA1 765975666af60bdf2b74fda20bff57250fe000aa SHA256 69bb1d8f300529ae51185df875775e96365964fc8da67bd798553c533ebf7d1d
|
||||
MD5 4d1659482b7def63eea5c15a844b0b8f files/99-ntfs-policy.fdi 646
|
||||
RMD160 62f5bb6805e18c389f0c02338fd46edad9e675dc files/99-ntfs-policy.fdi 646
|
||||
SHA256 69bb1d8f300529ae51185df875775e96365964fc8da67bd798553c533ebf7d1d files/99-ntfs-policy.fdi 646
|
||||
EBUILD ntfs-policy-1.0.ebuild 883 RMD160 48591cb5138aff58f7ebbbd4cf3dc8e3daf78c87 SHA1 c76a42d1df246ed090049bd90f5055959680ff81 SHA256 697e108a9c096c55ab26c6bc66396512c51235d761f802eba9fe11bb3cc01ae9
|
||||
MD5 1d7fcf664e7d63349efe066265e42e12 ntfs-policy-1.0.ebuild 883
|
||||
RMD160 48591cb5138aff58f7ebbbd4cf3dc8e3daf78c87 ntfs-policy-1.0.ebuild 883
|
||||
SHA256 697e108a9c096c55ab26c6bc66396512c51235d761f802eba9fe11bb3cc01ae9 ntfs-policy-1.0.ebuild 883
|
||||
MD5 68b329da9893e34099c7d8ad5cb9c940 files/digest-ntfs-policy-1.0 1
|
||||
RMD160 c0da025038ed83c687ddc430da9846ecb97f3998 files/digest-ntfs-policy-1.0 1
|
||||
SHA256 01ba4719c80b6fe911b091a7c05124b64eeece964e09c058ef8f9805daca546b files/digest-ntfs-policy-1.0 1
|
||||
@@ -0,0 +1,19 @@
|
||||
<?xml version="1.0" encoding="ISO-8859-1"?> <!-- -*- SGML -*- -->
|
||||
|
||||
<deviceinfo version="0.2">
|
||||
|
||||
<!-- Mount external ntfs drives with user privileges -->
|
||||
<device>
|
||||
<match key="block.is_volume" bool="true">
|
||||
<match key="volume.fsusage" string="filesystem">
|
||||
<match key="@block.storage_device:storage.no_partitions_hint" bool="false">
|
||||
<match key="volume.partition.msdos_part_table_type" exists="true">
|
||||
<match key="volume.partition.msdos_part_table_type" int="0x07">
|
||||
<merge key="volume.mount_option" type="string">umask=0222</merge>
|
||||
</match>
|
||||
</match>
|
||||
</match>
|
||||
</match>
|
||||
</match>
|
||||
</device>
|
||||
</deviceinfo>
|
||||
@@ -0,0 +1 @@
|
||||
|
||||
@@ -0,0 +1,37 @@
|
||||
# Copyright 2006 SabayonLinux
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
inherit eutils versionator
|
||||
|
||||
DESCRIPTION="SabayonLinux NTFS HAL Policy files"
|
||||
HOMEPAGE="http://www.sabayonlinux.org/"
|
||||
SRC_URI=""
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="x86 amd64"
|
||||
IUSE=""
|
||||
|
||||
DEPEND=">=sys-apps/hal-0.5.7.1-r1"
|
||||
|
||||
|
||||
src_unpack () {
|
||||
|
||||
cd ${WORKDIR}
|
||||
cp ${FILESDIR}/99-ntfs-policy.fdi . -p
|
||||
|
||||
# Patching hal-system-storage-mount
|
||||
if [ -z "`cat /usr/share/hal/scripts/hal-system-storage-mount | grep '$MOUNTOPTIONS,$HAL_PROP_VOLUME_MOUNT_OPTION'`" ]; then
|
||||
einfo "Patching hal-system-storage-mount"
|
||||
sed -i '/# echo "options =/ s/#/MOUNTOPTIONS="$MOUNTOPTIONS,$HAL_PROP_VOLUME_MOUNT_OPTION"\n\n#/' /usr/share/hal/scripts/hal-system-storage-mount
|
||||
fi
|
||||
|
||||
}
|
||||
|
||||
src_install () {
|
||||
|
||||
cd ${WORKDIR}
|
||||
instinto /usr/share/hal/fdi/policy/10osvendor/
|
||||
doins 99-ntfs-policy.fdi
|
||||
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user