Changeset 3085 in MondoRescue


Ignore:
Timestamp:
Mar 8, 2013, 6:05:35 AM (11 years ago)
Author:
Bruno Cornec
Message:
  • Patches to render this mindi-busybox version compatible with RHEL3 at least, potentially all older Linux 2.4 based distros.
Location:
branches/3.0/mindi-busybox
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • branches/3.0/mindi-busybox/Makefile

    r2859 r3085  
    515515# If kconfig.d is missing then we are probarly in a cleaned tree so
    516516# we execute the config step to be sure to catch updated Kconfig files
    517 include/autoconf.h: .kconfig.d .config $(wildcard $(srctree)/*/*.c) $(wildcard $(srctree)/*/*/*.c) | gen_build_files
     517include/autoconf.h: .kconfig.d .config $(wildcard $(srctree)/*/*.c) $(wildcard $(srctree)/*/*/*.c) gen_build_files
    518518    $(Q)$(MAKE) -f $(srctree)/Makefile silentoldconfig
    519519
  • branches/3.0/mindi-busybox/include/platform.h

    r2725 r3085  
    256256#else
    257257# define HAVE_MNTENT_H 1
     258/*  Patch bco to compile this busybox on rhel3  */
     259#include <linux/version.h>
     260#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,0)
    258261# define HAVE_SYS_STATFS_H 1
    259262#endif
     263#endif
    260264
    261265/*----- Kernel versioning ------------------------------------*/
    262266
     267#ifndef KERNEL_VERSION
    263268#define KERNEL_VERSION(a,b,c) (((a) << 16) + ((b) << 8) + (c))
     269#endif
    264270
    265271/* ---- Miscellaneous --------------------------------------- */
  • branches/3.0/mindi-busybox/util-linux/blockdev.c

    r2725 r3085  
    3636#include <linux/fs.h>
    3737
     38/*  Patch bco to compile this busybox on rhel3  */
     39#ifndef BLKGETSIZE64
     40#define BLKGETSIZE64 _IOR(0x12,114,size_t)
     41#endif
     42
    3843enum {
    3944    ARG_NONE   = 0,
Note: See TracChangeset for help on using the changeset viewer.