mirror of
				https://git.proxmox.com/git/mirror_zfs.git
				synced 2025-10-26 18:05:04 +03:00 
			
		
		
		
	Update rpm/deb packages to be FHS compliant
This change is the first step towards updating the default
rpm/deb packages to be FHS compliant.  It accomplishes this
by passing the following options to ./configure to ensure the
zfs build products are installed in FHS compliant locations.
  ./configure --prefix=/ --bindir=/lib/udev \
    --libexecdir=/usr/libexec --datadir=/usr/share
The core zfs utilities (zfs, zpool, zdb) are now be installed
in /sbin, the core libraries in /lib, and the udev helpers
(zpool_id, zvol_id) are in /lib/udev with the other udev
helpers.
The remaining files in the zfs package remain in their
previous locations under /usr.
			
			
This commit is contained in:
		
							parent
							
								
									b772aedeec
								
							
						
					
					
						commit
						db97f88646
					
				@ -2,6 +2,10 @@
 | 
			
		||||
%define version          @VERSION@
 | 
			
		||||
%define release          @ZFS_META_RELEASE@
 | 
			
		||||
%define debug_package    %{nil}
 | 
			
		||||
%define _prefix          /
 | 
			
		||||
%define _bindir          /lib/udev
 | 
			
		||||
%define _libexecdir      /usr/libexec
 | 
			
		||||
%define _datadir         /usr/share
 | 
			
		||||
 | 
			
		||||
Summary:         ZFS Library and Utils
 | 
			
		||||
Group:           Utilities/System
 | 
			
		||||
@ -78,7 +82,6 @@ rm -rf $RPM_BUILD_ROOT
 | 
			
		||||
%{_sysconfdir}/init.d/*
 | 
			
		||||
%{_sysconfdir}/udev/rules.d/*
 | 
			
		||||
%{_sysconfdir}/zfs/*
 | 
			
		||||
/sbin/*
 | 
			
		||||
 | 
			
		||||
%files devel
 | 
			
		||||
%defattr(-,root,root)
 | 
			
		||||
 | 
			
		||||
		Loading…
	
		Reference in New Issue
	
	Block a user