This commit is contained in:
commit
0d17ded3fa
23
.gitattributes
vendored
Normal file
23
.gitattributes
vendored
Normal file
@ -0,0 +1,23 @@
|
|||||||
|
## Default LFS
|
||||||
|
*.7z filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.bsp filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.bz2 filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.gem filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.gz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.jar filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.lz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.lzma filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.obscpio filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.oxt filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.pdf filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.png filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.rpm filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.tbz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.tbz2 filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.tgz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.ttf filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.txz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.whl filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.xz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.zip filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.zst filter=lfs diff=lfs merge=lfs -text
|
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
|||||||
|
.osc
|
10
squashfs-retval.patch
Normal file
10
squashfs-retval.patch
Normal file
@ -0,0 +1,10 @@
|
|||||||
|
--- squashfs-tools/mksquashfs.c 2006/08/21 15:03:26 1.1
|
||||||
|
+++ squashfs-tools/mksquashfs.c 2006/08/21 15:03:41
|
||||||
|
@@ -1643,6 +1643,7 @@
|
||||||
|
for(entry = priority_list[i]; entry; entry = entry->next)
|
||||||
|
reader_read_file(entry->dir);
|
||||||
|
}
|
||||||
|
+ return NULL;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
10
squashfs.changes
Normal file
10
squashfs.changes
Normal file
@ -0,0 +1,10 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Aug 21 16:54:16 CEST 2006 - ro@suse.de
|
||||||
|
|
||||||
|
- update to version 3.1 to fix build on 2.6.18
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu May 11 16:58:59 CEST 2006 - duwe@suse.de
|
||||||
|
|
||||||
|
- packaged current version for SuSE Linux.
|
||||||
|
|
96
squashfs.spec
Normal file
96
squashfs.spec
Normal file
@ -0,0 +1,96 @@
|
|||||||
|
#
|
||||||
|
# spec file for package squashfs (Version 3.1)
|
||||||
|
#
|
||||||
|
# Copyright (c) 2006 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||||
|
# This file and all modifications and additions to the pristine
|
||||||
|
# package are under the same license as the package itself.
|
||||||
|
#
|
||||||
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||||||
|
#
|
||||||
|
|
||||||
|
# norootforbuild
|
||||||
|
|
||||||
|
# Commandline:
|
||||||
|
Name: squashfs
|
||||||
|
BuildRequires: kernel-source kernel-syms
|
||||||
|
License: GPL
|
||||||
|
Group: System/Filesystems
|
||||||
|
Version: 3.1
|
||||||
|
Release: 1
|
||||||
|
Source0: %{name}%{version}.tar.gz
|
||||||
|
Patch: squashfs-retval.patch
|
||||||
|
URL: http://squashfs.sourceforge.net/
|
||||||
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
|
Summary: A Read-Only File System with Efficient Compression
|
||||||
|
%suse_kernel_module_package kdump um
|
||||||
|
|
||||||
|
%description
|
||||||
|
This package contains the userland utilities to create and read
|
||||||
|
squashfs images.
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
Authors:
|
||||||
|
--------
|
||||||
|
Phillip Lougher
|
||||||
|
|
||||||
|
%package KMP
|
||||||
|
Group: System/Filesystems
|
||||||
|
Summary: Kernel modules for the read-only file system with efficient compression
|
||||||
|
|
||||||
|
%description KMP
|
||||||
|
This package contains the necessary kernel modules to use the "squash"
|
||||||
|
file system transparently.
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
Authors:
|
||||||
|
--------
|
||||||
|
Phillip Lougher
|
||||||
|
|
||||||
|
%prep
|
||||||
|
%setup -n %{name}%{version}
|
||||||
|
%patch
|
||||||
|
# turn patch into plain sources :-/
|
||||||
|
patch -f -p2 < linux-2.6.18/squashfs3.1-patch || true
|
||||||
|
mv linux squashfs/.
|
||||||
|
echo '#define CONFIG_SQUASHFS_FRAGMENT_CACHE_SIZE 3' >> squashfs/squashfs.h
|
||||||
|
|
||||||
|
%build
|
||||||
|
make -C squashfs-tools \
|
||||||
|
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
|
||||||
|
[ "$RPM_BUILD_ROOT" != "" -a -d $RPM_BUILD_ROOT ] && rm -rf $RPM_BUILD_ROOT;
|
||||||
|
mkdir -p $RPM_BUILD_ROOT/usr/bin
|
||||||
|
cp -p squashfs-tools/*squashfs $RPM_BUILD_ROOT/usr/bin
|
||||||
|
export CONFIG_SQUASHFS=m
|
||||||
|
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
|
||||||
|
[ "$RPM_BUILD_ROOT" != "" -a -d $RPM_BUILD_ROOT ] && rm -rf $RPM_BUILD_ROOT;
|
||||||
|
|
||||||
|
%files
|
||||||
|
%defattr(-,root,root)
|
||||||
|
%doc README CHANGES README-3.1 PERFORMANCE.README
|
||||||
|
/usr/bin/*squashfs
|
||||||
|
|
||||||
|
%changelog -n squashfs
|
||||||
|
* Mon Aug 21 2006 - ro@suse.de
|
||||||
|
- update to version 3.1 to fix build on 2.6.18
|
||||||
|
* Thu May 11 2006 - duwe@suse.de
|
||||||
|
- packaged current version for SuSE Linux.
|
3
squashfs3.1.tar.gz
Normal file
3
squashfs3.1.tar.gz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:8233a6f98b63de38500f9d3403d0a4c5b50277c695e29da765043cc3638f6f96
|
||||||
|
size 477979
|
Loading…
Reference in New Issue
Block a user