forked from pool/squashfs
This commit is contained in:
parent
abf9c7cdb6
commit
6dfde7cbbd
@ -1,3 +1,8 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Aug 23 14:57:03 CEST 2007 - olh@suse.de
|
||||||
|
|
||||||
|
- move kernel driver to kernel-binary.rpm
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Thu Aug 16 14:06:32 CEST 2007 - cthiel@suse.de
|
Thu Aug 16 14:06:32 CEST 2007 - cthiel@suse.de
|
||||||
|
|
||||||
|
@ -12,19 +12,18 @@
|
|||||||
|
|
||||||
# Commandline:
|
# Commandline:
|
||||||
Name: squashfs
|
Name: squashfs
|
||||||
BuildRequires: kernel-source kernel-syms module-init-tools zlib-devel
|
BuildRequires: zlib-devel
|
||||||
License: GPL v2 or later
|
License: GPL v2 or later
|
||||||
Group: System/Filesystems
|
Group: System/Filesystems
|
||||||
Supplements: filesystem(squashfs)
|
Supplements: filesystem(squashfs)
|
||||||
Version: 3.2
|
Version: 3.2
|
||||||
Release: 53
|
Release: 57
|
||||||
Source0: %{name}%{version}-r2.tar.gz
|
Source0: %{name}%{version}-r2.tar.bz2
|
||||||
Patch: squashfs-retval.patch
|
Patch: squashfs-retval.patch
|
||||||
Patch1: squashfs-slab_change.patch
|
Patch1: squashfs-slab_change.patch
|
||||||
URL: http://squashfs.sourceforge.net/
|
URL: http://squashfs.sourceforge.net/
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
Summary: A Read-Only File System with Efficient Compression
|
Summary: A Read-Only File System with Efficient Compression
|
||||||
%suse_kernel_module_package kdump um
|
|
||||||
|
|
||||||
%description
|
%description
|
||||||
This package contains the userland utilities to create and read
|
This package contains the userland utilities to create and read
|
||||||
@ -32,21 +31,6 @@ squashfs images.
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
Authors:
|
|
||||||
--------
|
|
||||||
Phillip Lougher
|
|
||||||
|
|
||||||
%package KMP
|
|
||||||
Group: System/Filesystems
|
|
||||||
Summary: Kernel modules for the read-only file system with efficient compression
|
|
||||||
Supplements: filesystem(squashfs)
|
|
||||||
|
|
||||||
%description KMP
|
|
||||||
This package contains the necessary kernel modules to use the "squash"
|
|
||||||
file system transparently.
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
Authors:
|
Authors:
|
||||||
--------
|
--------
|
||||||
Phillip Lougher
|
Phillip Lougher
|
||||||
@ -55,38 +39,18 @@ Authors:
|
|||||||
%setup -n %{name}%{version}-r2
|
%setup -n %{name}%{version}-r2
|
||||||
%patch
|
%patch
|
||||||
%patch1
|
%patch1
|
||||||
# turn patch into plain sources :-/
|
|
||||||
patch -f -p2 < kernel-patches/linux-2.6.20/squashfs3.2-patch || true
|
|
||||||
mv linux squashfs/.
|
|
||||||
echo '#define CONFIG_SQUASHFS_FRAGMENT_CACHE_SIZE 3' >> squashfs/squashfs.h
|
|
||||||
|
|
||||||
%build
|
%build
|
||||||
make -C squashfs-tools \
|
make -C squashfs-tools \
|
||||||
CFLAGS="-I. -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE $RPM_OPT_FLAGS"
|
CFLAGS="-I. -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE $RPM_OPT_FLAGS"
|
||||||
mkdir source obj
|
|
||||||
# cp -r squashfs/* source/
|
|
||||||
export CONFIG_SQUASHFS=m
|
|
||||||
for flavor in %flavors_to_build; do
|
|
||||||
rm -rf obj/$flavor
|
|
||||||
cp -r squashfs obj/$flavor
|
|
||||||
make -C /usr/src/linux-obj/%_target_cpu/$flavor modules \
|
|
||||||
M=$PWD/obj/$flavor
|
|
||||||
done
|
|
||||||
|
|
||||||
%install
|
%install
|
||||||
[ "$RPM_BUILD_ROOT" != "" -a -d $RPM_BUILD_ROOT ] && rm -rf $RPM_BUILD_ROOT;
|
|
||||||
mkdir -p $RPM_BUILD_ROOT/usr/bin
|
mkdir -p $RPM_BUILD_ROOT/usr/bin
|
||||||
cp -p squashfs-tools/*squashfs $RPM_BUILD_ROOT/usr/bin
|
cp -p squashfs-tools/*squashfs $RPM_BUILD_ROOT/usr/bin
|
||||||
export CONFIG_SQUASHFS=m
|
chmod 644 *READ* *CHANGE*
|
||||||
export INSTALL_MOD_PATH=$RPM_BUILD_ROOT
|
|
||||||
export INSTALL_MOD_DIR=kernel/fs
|
|
||||||
for flavor in %flavors_to_build; do
|
|
||||||
make -C /usr/src/linux-obj/%_target_cpu/$flavor modules_install \
|
|
||||||
M=$PWD/obj/$flavor
|
|
||||||
done
|
|
||||||
|
|
||||||
%clean
|
%clean
|
||||||
[ "$RPM_BUILD_ROOT" != "" -a -d $RPM_BUILD_ROOT ] && rm -rf $RPM_BUILD_ROOT;
|
rm -rf $RPM_BUILD_ROOT
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
@ -94,6 +58,8 @@ done
|
|||||||
/usr/bin/*squashfs
|
/usr/bin/*squashfs
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Thu Aug 23 2007 - olh@suse.de
|
||||||
|
- move kernel driver to kernel-binary.rpm
|
||||||
* Thu Aug 16 2007 - cthiel@suse.de
|
* Thu Aug 16 2007 - cthiel@suse.de
|
||||||
- Supplements: filesystem(squashfs)
|
- Supplements: filesystem(squashfs)
|
||||||
* Wed Jun 06 2007 - ro@suse.de
|
* Wed Jun 06 2007 - ro@suse.de
|
||||||
|
3
squashfs3.2-r2.tar.bz2
Normal file
3
squashfs3.2-r2.tar.bz2
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:247014976efa13f8dd1808b864a8c4bd3065170bb0df59f2d033379f56b915aa
|
||||||
|
size 118278
|
@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:8482465d58d78099c608b32fc034921f7c8c3cf7934b5edc68c463cd450b40a7
|
|
||||||
size 314764
|
|
Loading…
Reference in New Issue
Block a user