LogoopenSUSE Build Service > Projects
Sign Up | Log In

kernel-reiser4

kernel-reiser4
# Summary: The vanilla Kernel - without any SUSE patches with reiser4 patch
 - reiser4-for-4.18.0.patch
##############
https://sourceforge.net/projects/reiser4/files/reiser4-for-linux-4.x/reiser4-for-4.18.0.patch.gz
 
The Linux kernel-vanilla with reiser4 patch.
kernel-vanilla

Kernel that this patch is based on 4.18.x
The vanilla kernel - without any SUSE patches
- Reiser4 patch applied from [1] by Edward8 Shishkin.

Reiser 4 patch applied by doing the following steps.

#################################################
#source base
#################################################
The sources of the package Reiser 4 enabled with a patch from Edward Shishkin [1] and openSUSE [2]

[1]http://sourceforge.net/projects/reiser4/files/reiser4-for-linux-4.x/reiser4-for-18.0.patch.gz

[2]https://build.opensuse.org/package/show?package=kernel-vanilla:project=home%3Adoiggl

Branch existing package
Branch package from other project
- Name of original project:
kernel-vanilla of project Kernel:stable
 


- Name of package in original project:
kernel-vanilla

Name of branched package in target project:
(Leave blank to use the same name as in the original project)
kernel-vanilla
[untick] Stay on current revision, don't merge future upstream changes automatically

[Create Branch]
#or
osc copypac SOURCEPRJ SOURCEPAC DESTPRJ [DESTPAC]
osc copypac  Kernel:stable kernel-vanilla  home:doiggl kernel-vanilla
#
# osc copypac  Kernel:stable kernel-vanilla  home:doiggl kernel-vanilla
Sending meta data...
Copying files...patches.rpmify.tar.bz2
<revision rev="1" vrev="1">
  <srcmd5>c49e0dd2f8390371fc18b506a82f7994</srcmd5>
  <version>unknown</version>
  <time>1387607234</time>
  <user>doiggl</user>
  <comment>osc copypac from project:Kernel:stable package:kernel-vanilla revision:493</comment>
  <requestid/>
</revision>

###################################################
# Step 1 changes to spec file
###################################################
# copy kernel-vanilla.spec to kernel-reiser4.spec
# change details:
# Name: kernel-vanilla
# Summary: The vanilla Kernel - without any SUSE patches with reiser4 patch

###################################################
#Step 2. Reconstruct patches.rpmify.tar.bz2 with
#reiser4 patch and attach
#see script below the output


# cat sdir="/home/r4/orginal/"
#sver=3.16
sver=4.19
seriesoriginal=$sdir"/series.conf.original-v$sver"
seriesnew=$sdir"/series.conf"
r4applypatchesconfig=$sdir"/r4-apply-patches-config.txt"
list="/tmp/r4-patches-list.txt"
r4prefix=$sdir"/add-to-series-conf.txt"
r4add=$sdir"/r4-add.txt"
r4add1=$sdir"/r4-add1.txt"
r4addnewline=$sdir"/r4-addnewline.txt"
r4ifthenelseblock=$sdir"/r4ifthenelseblock.txt"
r4ver=4.13.0
r4pachesdir="/home/r4/patches/X/"
speckvoriginal=$sdir"/kernel-vanilla.spec.original-v$sver"
speckv="/kernel-vanilla.spec"

echo "##:start"
cd /
cp -v $sdir/patches.rpmify.tar.bz2.original-v$sver  /patches.rpmify.tar.bz2 

echo "#"
echo "#extract archive"
rm -rf  /patches.rpmify

echo "#tar -xvjf /patches.rpmify.tar.bz2"
tar -xvjf /patches.rpmify.tar.bz2

echo "#copy in patches"
cp -v /reiser4-for-4.18.0.patch /patches.rpmify/.
ls  /patches.rpmify
tar -cvjSf patches.rpmify.tar.bz2 patches.rpmify
ls  /patches.rpmify.tar.bz2
cp -v  /patches.rpmify.tar.bz2 /tmp/.
echo "#"
exit
#

run log:
# /p                                                                                                                             
##:start                                                                                                                                                       
‘/home/r4/orginal//patches.rpmify.tar.bz2.original-v4.19’ -> ‘/patches.rpmify.tar.bz2’                                                                         
#                                                                                                                                                              
#extract archive                                                                                                                                               
#tar -xvjf /patches.rpmify.tar.bz2                                                                                                                             
patches.rpmify/Add-ksym-provides-tool.patch                                                                                                                    
patches.rpmify/Revert-kconfig-only-write-CONFIG_FOO-is-not-set-for-.patch                                                                                      
patches.rpmify/powerpc-Blacklist-GCC-5.4-6.1-and-6.2.patch                                                                                                     
patches.rpmify/powerpc-boot-Fix-missing-crc32poly.h-when-building-w.patch                                                                                      
#copy in patches                                                                                                                                               
‘/reiser4-for-4.18.0.patch’ -> ‘/patches.rpmify/./reiser4-for-4.18.0.patch’
Add-ksym-provides-tool.patch                                powerpc-Blacklist-GCC-5.4-6.1-and-6.2.patch                 reiser4-for-4.18.0.patch
Revert-kconfig-only-write-CONFIG_FOO-is-not-set-for-.patch  powerpc-boot-Fix-missing-crc32poly.h-when-building-w.patch
patches.rpmify/
patches.rpmify/reiser4-for-4.18.0.patch
patches.rpmify/Add-ksym-provides-tool.patch
patches.rpmify/powerpc-Blacklist-GCC-5.4-6.1-and-6.2.patch
patches.rpmify/Revert-kconfig-only-write-CONFIG_FOO-is-not-set-for-.patch
patches.rpmify/powerpc-boot-Fix-missing-crc32poly.h-when-building-w.patch
/patches.rpmify.tar.bz2
‘/patches.rpmify.tar.bz2’ -> ‘/tmp/./patches.rpmify.tar.bz2’
#

#
#########
# Step 3.
#########
add parameters to .config via zreiser4parameters.txt
CONFIG_REISER4_DEBUG=n
CONFIG_REISER4_FS=m

###################################################
#Reiser4fs Patches -Add to series.conf
###################################################
patches.rpmify/reiser4-for-4.18.0.patch

#######################
# Step 5 - code changes
# to edit check-for-config-changes
#######################
if [ -n "$differences" ]; then
echo
echo "Changes after running \`make oldconfig':"
echo "$differences"
echo
if echo "$differences" | grep -q '^+' ; then
echo "##changes marked with + need to be fixed"
fi
fi

#######################
# Step 6 - code changes
# to edit kernel-vanilla.spec
#######################
MAKE_ARGS="$MAKE_ARGS -C %build_src_dir O=$PWD"
if test -e %_sourcedir/TOLERATE-UNKNOWN-NEW-CONFIG-OPTIONS; then
yes '' | make oldconfig $MAKE_ARGS
else
#upto here
#/usr/bin/head -955 `find . | grep -i kernel-reiser4.spec`
#or
/usr/bin/head -955 `find . | grep -i kernel-vanilla.spec`
cp -v .config .config.orig
# add repser4 params to config
/bin/cat `/usr/bin/find /. | grep -i zreiser4parameters.txt` >> .config
echo "##try 1"
/usr/bin/make oldconfig $MAKE_ARGS
make silentoldconfig $MAKE_ARGS
# %_sourcedir/check-for-config-changes .config.orig .config /usr/bin/tee config.diff
%_sourcedir/check-for-config-changes .config.orig .config >> config.diff
/usr/bin/grep -i "+CONFIG_" config.diff | /usr/bin/sed -e 's/+CONFIG_/CONFIG_/g'
/usr/bin/grep -i "+CONFIG_" config.diff | /usr/bin/sed -e 's/+CONFIG_/CONFIG_/g' >> .config

echo "##try 2"
/usr/bin/make oldconfig $MAKE_ARGS
make silentoldconfig $MAKE_ARGS
/usr/bin/grep -i "+CONFIG_" config.diff | /usr/bin/sed -e 's/+CONFIG_/CONFIG_/g'
%_sourcedir/check-for-config-changes .config.orig .config >> config.diff
/usr/bin/grep -i "+CONFIG_" config.diff | /usr/bin/sed -e 's/+CONFIG_/CONFIG_/g' >> .config

echo "#try 3"
/usr/bin/make oldconfig $MAKE_ARGS
echo "##list .config"
/bin/cat .config
make silentoldconfig $MAKE_ARGS
rm .config.orig
fi

Source Files

Filename Size Changed Actions
README.KSYMS 345 Bytes Download File
README.PATCH-POLICY.SUSE 13.4 KB Download File
README.SUSE 16.5 KB Download File
_constraints 3.51 KB Download File
apply-patches 1.07 KB Download File
arch-symbols 1.49 KB Download File
check-for-config-changes 477 Bytes Download File
check-module-license 226 Bytes Download File
compress-vmlinux.sh 385 Bytes Download File
compute-PATCHVERSION.sh 1.6 KB Download File
config-options.changes.txt 57.3 KB Download File
config.addon.tar.bz2 130 Bytes Download File
config.conf 939 Bytes Download File
config.sh 445 Bytes Download File
config.tar.bz2 181 KB Download File
constraints.in 2.34 KB Download File
devel-post.sh 413 Bytes Download File
devel-pre.sh 138 Bytes Download File
dtb-aarch64.changes 2.38 MB Download File
dtb-aarch64.spec 21 KB Download File
dtb-armv6l.changes 2.38 MB Download File
dtb-armv6l.spec 5.92 KB Download File
dtb-armv7l.changes 2.38 MB Download File
dtb-armv7l.spec 32.9 KB Download File
dtb.spec.in.in 2.84 KB Download File
group-source-files.pl 1.83 KB Download File
guards 7.75 KB Download File
host-memcpy-hack.h 183 Bytes Download File
kabi.pl 3.38 KB Download File
kabi.tar.bz2 469 Bytes Download File
kernel-64kb.changes 2.38 MB Download File
kernel-64kb.spec 50.4 KB Download File
kernel-binary.spec.in 37 KB Download File
kernel-cert-subpackage 1.08 KB Download File
kernel-debug.changes 2.38 MB Download File
kernel-debug.spec 50.6 KB Download File
kernel-default.changes 2.38 MB Download File
kernel-default.spec 53.6 KB Download File
kernel-docs.changes 2.38 MB Download File
kernel-docs.spec 7.43 KB Download File
kernel-docs.spec.in 3.73 KB Download File
kernel-kvmsmall.changes 2.38 MB Download File
kernel-kvmsmall.spec 51.3 KB Download File
kernel-lpae.changes 2.38 MB Download File
kernel-lpae.spec 50.1 KB Download File
kernel-module-subpackage 2.61 KB Download File
kernel-obs-build.changes 2.38 MB Download File
kernel-obs-build.spec 4.78 KB Download File
kernel-obs-build.spec.in 4.75 KB Download File
kernel-obs-qa.changes 2.38 MB Download File
kernel-obs-qa.spec 2.13 KB Download File
kernel-obs-qa.spec.in 2.11 KB Download File
kernel-pae.changes 2.38 MB Download File
kernel-pae.spec 52.6 KB Download File
kernel-reiser4.spec 50.7 KB Download File
kernel-source.changes 2.38 MB Download File
kernel-source.rpmlintrc 871 Bytes Download File
kernel-source.spec 8.61 KB Download File
kernel-source.spec.in 8.31 KB Download File
kernel-spec-macros 1.84 KB Download File
kernel-syms.changes 2.38 MB Download File
kernel-syms.spec 2.62 KB Download File
kernel-syms.spec.in 2.16 KB Download File
kernel-vanilla.changes 2.38 MB Download File
kernel-vanilla.spec 50.7 KB Download File
kernel-zfcpdump.changes 2.38 MB Download File
kernel-zfcpdump.spec 50.3 KB Download File
klp-symbols 1.44 KB Download File
linux-4.19.tar.xz 98.3 MB
log.sh 3.94 KB Download File
macros.kernel-source 3.28 KB Download File
mkspec 12.8 KB Download File
mkspec-dtb 9.39 KB Download File
modules.fips 638 Bytes Download File
modversions 3.48 KB Download File
old-flavors 972 Bytes Download File
package-descriptions 5.46 KB Download File
patches.addon.tar.bz2 133 Bytes Download File
patches.apparmor.tar.bz2 132 Bytes Download File
patches.arch.tar.bz2 127 Bytes Download File
patches.drivers.tar.bz2 132 Bytes Download File
patches.fixes.tar.bz2 132 Bytes Download File
patches.kabi.tar.bz2 130 Bytes Download File
patches.kernel.org.tar.bz2 456 KB Download File
patches.rpmify.tar.bz2 458 KB Download File
patches.rt.tar.bz2 127 Bytes Download File
patches.suse.tar.bz2 59 KB Download File
post.sh 1.96 KB Download File
postun.sh 1.24 KB Download File
pre.sh 2.15 KB Download File
preun.sh 138 Bytes Download File
release-projects 489 Bytes Download File
series.conf 64.6 KB Download File
source-post.sh 329 Bytes Download File
source-timestamp 100 Bytes Download File
split-modules 3.42 KB Download File
supported.conf 118 KB Download File
sysctl.tar.bz2 841 Bytes Download File
try-disable-staging-driver 2.59 KB Download File
zreiser4parameters.txt 43 Bytes Download File

Comments for home:doiggl (0)

Login required, please login or signup in order to comment