GoboLinux Downloads Documentation Community Recipes Screenshots

GoboLinux Recipe & Package Search Tool

71 versions of Linux.

ProgramAgeSizeByWWWSummary
Linux 4.13.2-r1 815  88794 Luca...
The Linux Kernel.
Linux 4.9.16-r3 986  100651 Luca...
The Linux Kernel.
Linux 4.9.4-r5 1042  99374 Luca...
The Linux Kernel.
Linux 4.8.2-r2 1108  89394 Luca...
The Linux Kernel.
Linux 4.7.4-r1 1178  82767 Luca...
The Linux Kernel.
Linux 4.7.0-r4 1233  82585 Luca...
The Linux Kernel.
Linux 3.13.3-r1 2113  252629 Luca...
The Linux Kernel.
Linux 3.12.6-r1 2173  238949 Luca...
The Linux Kernel.
Linux 3.9.4-r2 2368  70048 Luca...
The Linux Kernel.
Linux 3.7.1-r2 2541  67579 Luca...
The Linux Kernel.
Linux 3.5.0-r1 2692  124391 Luca...
The Linux Kernel.
Linux 3.4.4-r1 2692  124348 Luca...
The Linux Kernel.
Linux 3.3.6-r1 2692  124410 Luca...
The Linux Kernel.
Linux 3.2.12-r2 2820  124345 Luca...
The Linux Kernel.
Linux 3.2.7-r1 2850  123550 Mich...
The Linux Kernel.
view entry at GitHub | download recipe.bz2 file
01-gobohide.patch
02-unionfs-2.5.10_for_3.1.0-rc4.diff
Recipe
Resources/BuildDependencies
Resources/BuildInformation
Resources/Dependencies
Resources/Description
cell/02-memcpy-cell.patch
cell/Recipe
cell/dot-config
i686/Recipe
i686/dot-config
ppc/Recipe
ppc/dot-config
x86_64/Recipe
x86_64/dot-config
# Recipe for version 3.2.7 by Michael Homer <michael@gobolinux.org>, on Sat Feb 25 \
11:53:06 NZDT 2012
compile_version=1.8.5
url="http://www.kernel.org/pub/linux/kernel/v3.0/linux-3.2.7.tar.bz2"
file_size=78125610
file_md5=2fb9dfbf3bca415cce173d06c96afb46
recipe_type=makefile
build_target="all"
install_target="modules_install"

install_variables=(
#   INSTALL_MOD_PATH="$target/Resources/Unmanaged"
   MODLIB="${target}/Resources/Unmanaged/${goboModules}/${version}-Gobo"
   INSTALL_FW_PATH="$target/lib/firmware"
   DEPMOD="true"
)

# While lib/modules is unmanaged as well that is manually added to the
# UnmanagedFiles file in pre_link()
unmanaged_files=(
   $goboBoot/
)

do_configuration() {
   if [ ! -f .config ]
   then
      if [ ! -f $goboStatus/config.gz ]
      then
         cp "$archsubdir"/dot-config .config
      else
         if Ask "Do you want to use a configuration based on the one from the running \
kernel?"
         then
            zcat $goboStatus/config.gz > .config
            yes "" | make oldconfig
         else
            Log_Normal "Using the kernel configuration shipped with the recipe"
            cp "$archsubdir"/dot-config .config
         fi
      fi
   fi

   GrepReplace "\$(INSTALL_MOD_PATH)/lib/modules/\$(KERNELRELEASE)" \
               "$target/Resources/Unmanaged/$goboModules/\$(KERNELRELEASE)" \
               Makefile >& /dev/null
   
   # Sanity check to make sure patches are not trying to mess with the version id.
   local v=`grep "^VERSION =" Makefile | awk '{print $3}'`
   local p=`grep "^PATCHLEVEL" Makefile | awk '{print $3}'`
   local s=`grep "^SUBLEVEL" Makefile | awk '{print $3}'`
   local e=`grep "^EXTRAVERSION" Makefile | awk '{print $3}'`
   local reported="$v.$p.$s$e"
   if [ "$reported" != "$version" ]
   then Die "Reported version ($reported) does not match version ($version). Please \
fix recipe."
   fi

   make menuconfig || Die "'menuconfig' failed."
   [ -z "${SUDO_USER}" ] || chown ${SUDO_USER} -R include/config .config
}

do_install() {
   $sudo_exec mkdir -p "$target"/lib/firmware
   makefile_do_install "$@"
}

pre_link() {
   local simpleversion=`private__calculate_version`
   local fullversion=`private__calculate_full_version`

   # Copy arch-dependent results to the destination
   private__copy_kernel_image
   
   # Copy sanitized sources to $target/lib/build
   private__copy_kernel_source $simpleversion
   Log_Normal "Calculating kernel module dependencies..."
   depmod -b $target/Resources/Unmanaged ${version}-Gobo
   # Create System.map and kernel symlinks
   private__link_at_system_kernel_boot $simpleversion $fullversion
   # Add lib/modules to UnmanagedFiles
   echo ${goboModules}/Current >> ${target}/Resources/UnmanagedFiles
   echo $goboModules/${version}-Gobo/ >> ${target}/Resources/UnmanagedFiles
}

private__calculate_version() {
   if grep -q "^CONFIG_LOCALVERSION=" .config
   then suffix=`grep "^CONFIG_LOCALVERSION=" .config | cut -d= -f2 | tr -d '"' | \
sed 's/-[0-9]*-//'`
   fi
   echo "$version$suffix"
}

private__calculate_full_version() {
   local simpleversion=`private__calculate_version`
   local newsuffix=""
   local count=`ls $goboBoot/kernel-$version-* 2> /dev/null | sort -n | wc -l | awk \
'{print $1}'`
   if [ "$count" -gt "0" ]
   then
      let count=$count+1
      newsuffix="-$count"
   fi
   echo "$simpleversion$newsuffix"
}

private__copy_kernel_source() {
   simpleversion="$1"
   rm -f "${target}/Resources/Unmanaged/${goboModules}/${simpleversion}"/{source,build}
   # Remove links created by 'make module-install'
   [ -f "${goboModules}/${simpleversion}/build" ] && rm -f "${goboModules}/${simpleversion}/build"
   [ -f "${goboModules}/${simpleversion}/source" ] && rm -f "${goboModules}/${simpleversion}/source"
   # Copy sanitized sources to Resources/Unmanaged/Files/Compile/Sources/linux-<version>
   dest="${target}/lib/modules/${simpleversion}/build"
   mkdir -p $dest
   ln -s build "${target}/lib/modules/${simpleversion}/source"

   Log_Normal "Creating a working copy of the kernel sources tree..."
   Quiet pushd $dir
   cp .version .config System.map Module.symvers Makefile Kbuild $dest/
   for i in *
   do
      if [ -d $i -a $i = "scripts" ]
      then
         cp -a $i $dest/
      elif [ -d $i ]
      then
         dirlist=`find $i -type d`
         filelist=`find $i \(     \
            -name "*.h" -or       \
            -name "*.conf" -or     \
            -name "Makefile*" -or \
            -name "Kconfig*" -or  \
            -name "Kbuild*" -or   \
            -name "asm-offsets.c" -or \
            -name "asm-offsets_32.c" -or \
            -name "asm-offsets_64.c" -or \
			-name "bounds.c" \
         \)`
         for dir in $dirlist
         do mkdir -p "$dest/$dir"
         done
         for file in $filelist
         do cp "$file" "$dest/$file"
         done
         for dir in $dirlist
         do find "$dir" -type d | sort -r | xargs rmdir 2> /dev/null
         done
      fi
   done
   Quiet popd
   
   Quiet pushd $dest
   make prepare
   Quiet popd
}

private__link_at_system_kernel_boot() {
   local simpleversion="$1"
   local fullversion="$2"
   mkdir -p $target/lib/modules
   mkdir -p $target/Resources/Unmanaged/$goboModules
   
   dest=$target/Resources/Unmanaged/$goboBoot
   ln -s kernel-$fullversion $dest/kernel
   ln -s System.map-$fullversion $dest/System.map
   
   rm -rf $goboModules/Current $goboModules/$fullversion
   rm -rf $target/Resources/Unmanaged/$goboModules/Current
   ln -s $simpleversion $target/Resources/Unmanaged/$goboModules/Current
   ln -s ${target}/lib/modules/${simpleversion}/{source,build} $target/Resources/Unmanaged/$goboModules/$simpleversion/
   for x in $goboModules/$simpleversion/*
   do
      bn=`basename $x`
      if ! [ -e "$target/lib/modules/$simpleversion/$bn" ]
      then
         ln -s $x $target/lib/modules/${simpleversion}/$bn
      fi
   done
}
Linux 3.1.1-r1 2955  122907 Mich...
The Linux Kernel.
Linux 3.0.4-r4 3016  122754 Luca...
The Linux Kernel.
Linux 2.6.36.3-r1 3239  116087 Diog...
The Linux Kernel.
Linux 2.6.32.3-r1 3617  117990 Luca...
The Linux Kernel.
Linux 2.6.32-r1 3658  117751 Luca...
The Linux Kernel.
Linux 2.6.31.6-r3 3663  126499 Luca...
The Linux Kernel.
Linux 2.6.30.5-r1 3742  166102 Jona...
The Linux Kernel.
Linux 2.6.29.1-r1 3885  117500 Luca...
The Linux Kernel.
Linux 2.6.28.7-r1 3941  115518 Giam...
The Linux Kernel.
Linux 2.6.28.1-r1 3941  115487 Giam...
The Linux Kernel.
Linux 2.6.28-r1 3941  116681 Mich...
The Linux Kernel.
Linux 2.6.27.8-r1 3941  134160 Giam...
The Linux Kernel.
Linux 2.6.27.4-r3 3941  149529 Luca...
The Linux Kernel.
Linux 2.6.25.17-r1 3941  172834 Giam...
The Linux Kernel.
Linux 2.6.25.16-r1 3941  166500 Giam...
The Linux Kernel.
Linux 2.6.25.10-r2 3941  165320 Giam...
The Linux Kernel.
Linux 2.6.25.7-r1 3941  157294 Giam...
The Linux Kernel.
Linux 2.6.25.4-r1 3941  133017 Hopp...
The Linux Kernel.
Linux 2.6.25-r1 3941  133216 Luca...
The Linux Kernel.
Linux 2.6.24.4-r5 3941  150733
The Linux Kernel.
Linux 2.6.24.3-r5 3941  150221 Luca...
The Linux Kernel.
Linux 2.6.24.2-r3 3941  146488 Giam...
The Linux Kernel.
Linux 2.6.24.1-r1 3941  146454 Giam...
The Linux Kernel.
Linux 2.6.24-r1 3941  146428 Luca...
The Linux Kernel.
Linux 2.6.23.8-r4 3941  155842 Luca...
The Linux Kernel.
Linux 2.6.22.7-r4 3941  114727 Luca...
The Linux Kernel.
Linux 2.6.22.1-r1 3941  121391 Luca...
The Linux Kernel.
Linux 2.6.21.1-r3 3941  118854 Luca...
The Linux Kernel.
Linux 2.6.20.7-r1 3941  117945 Luca...
The Linux Kernel.
Linux 2.6.20.4-r3 3941  151150 Luca...
The Linux Kernel.
Linux 2.6.20-r1 3941  106429 Luca...
The Linux Kernel.
Linux 2.6.18.3-r2 3941  111124 Luca...
The Linux Kernel.
Linux 2.6.17.11-r1 3941  164053 Luca...
The Linux Kernel.
Linux 2.6.17.3-r1 3941  165067 Luca...
The Linux Kernel.
Linux 2.6.16.20-r1 3941  133625 Luca...
The Linux Kernel.
Linux 2.6.16.14-r1 3941  168270 Luca...
The Linux Kernel.
Linux 2.6.15.5-r1 3941  224686 Jona...
The Linux Kernel.
Linux 2.6.15.2-r1 3941  177165 Carl...
The Linux Kernel.
Linux 2.6.15.1-r1 3941  149219 Jona...
The Linux Kernel.
Linux 2.6.15-r1 3941  149214 Luca...
The Linux Kernel.
Linux 2.6.14.4-r1 3941  150166 Jona...
The Linux Kernel.
Linux 2.6.14.3-r1 3941  150060 Jona...
The Linux Kernel.
Linux 2.6.14.2-r1 3941  149791 Carl...
The Linux Kernel.
Linux 2.6.13.4-r1 3941  149559 Luca...
The Linux Kernel.
Linux 2.6.13.2-r1 3941  56611 Jona...
The Linux Kernel.
Linux 2.6.13.1-r1 3941  56378 Luca...
The Linux Kernel.
Linux 2.6.12.2-r1 3941  50355 Luca...
The Linux Kernel.
Linux 2.6.11.9-r1 3941  98969 Luca...
The Linux Kernel.
Linux 2.6.11.8-r1 3941  109424 Jona...
The Linux Kernel.
Linux 2.6.11-r1 3941  99032 Luca...
The Linux Kernel.
Linux 2.6.10-r1 3941  65969 Luca...
The Linux Kernel.
Linux 2.6.9-r1 3941  278461 Luca...
The Linux Kernel.
Linux 2.6.8.1-r1 3941  35576 Luca...
The Linux Kernel.
Linux 2.6.7-r1 3941  22610 Luca...
The Linux Kernel.
Linux 2.6.6-r1 3941  21958 Luca...
The Linux Kernel.
Linux 2.4.26-r1 3941  22359 Luca...
The Linux Kernel.