Changeset 1842 in MondoRescue for branches/stable/mindi-busybox


Ignore:
Timestamp:
Dec 15, 2007, 2:24:34 AM (16 years ago)
Author:
Bruno Cornec
Message:
  • Fix lack of /etc/raidtab at restore rime in the right place
  • Adds support for nls_utf8 and pata_serverworks Patches from Dirk Husung (husung_at_tu-harburg.de)
  • Add efibootmgr to deplist.txt in order to be able to modify EFI menu at restore time on ia64
  • Usage of the new testver param of pb 0.8.12 to deliver 2.2.5 packages in a test dir.
  • Update pbcl files for upcoming delivery of 2.2.5
  • Fix an issue on parted output (K instead of KB) in parted2fdisk at restore time
  • Adds support for alb/aft types of bonding on Intel cards (Mark Pinkerton <Mark.Pinkerton_at_emageon.com>)
  • Escape variables in a perl script like mindi-bkphw
  • Better Proliant support at restore time now.
  • Fix a label bug where the variable label should also be re-initialized at each loop
  • start-nfs should NOT do exit => kernel panix as init exits
  • some other fixes for init on denymods
  • Adds boot options denymods (for udev) and forcemods (if not udev)
  • kqemu is denied. Probably should also be done for kvm stuff
  • Fix again the bug on modules link at root of the initrd. Hopefully for good.
  • Wait more around the USB CD emulated by iLO as it takes up to 5 seconds to come up
  • Attempt to fix udev support for RHEL 5.1
  • Better support for automatic iLO Virtual Media with udev
  • Some VMWare support improvements (however, it seems that VMWare support won't be possible anytime soon)
  • during init at restore time, copy all static evices availble for udev, as some distro implementation are no

t yet supported correctly for udev. Not very elegant, but should solve our current issues

  • Fedora 8 now supported as a build target for pb
  • svn.log removed.
  • dependencies reviewd for rhel_3
  • Attempt to fix the lack of modules loaded at restore time - especially fs device drivers
  • removes bkphw dir before potential creation
  • render mount command more vebose at restore time
  • Should fix #217
  • Increase BOOT_SIZE and EXTRA_SIZE to support features such as HW recovery
  • Handles udev.files files which could be symlinks
  • Improve udev support for distro with compressed modules (mdv e.g.)
  • Fix modules.dep copy
  • /sbin/pam_console_apply is needed by mdv udev conf
  • Adds support for nohw boot option to avoid re-setuping the HW conf
  • Improved support for Proliant on cpqacuxe
  • RstHW should be called after driver initialization
  • For debian/ubuntu mindi dpends on mindi-busybox
  • Update mindi-busybox pbcl for correct debian changelog generation, and up2date infos
  • Should fix #215
  • Fix #214 (Thanks to xdelaruelle)
  • Fix again svn.log not used anymore with new pb version
  • Adaptation of build process to upcoming 0.8.12 version of pb
  • Remove MONOTONIC clock to continue to support 2.4 kernels (RHEL 3 e.g. or ESX)
  • Attempt to solve ia64 BMC access through the serial port
  • parted2fdisk binary no more generated
  • do not require perl modules (strict.pm) at restore time
  • try to avoid modprobe messages at restore time
  • on ia64 now use the perl script parted2fdisk at retore time also
  • Also modprobe modules for udev after decompressing the additional ones
  • replace gzip -v9 by gzip -c9. Fix a bug at least on ia64
  • For all modules supported, create symlinks under the mountpoint and extract dev files as some are not automat ically created at the moment
  • Support /vmfs/volumes for ESX
  • Finally do not use vdf for ESX. Only creates issues.
  • Avoids continuing hw support if no product name found
  • Improves ia64 support for bootable image build
  • Fix a potential problem with ramdisk_blocksize param
  • MAKEDEV should also be included in deplist.txt
  • More fixes for udev support for Debian
  • Do not mount /boot if it's already mounted - avoids ESX hang
  • Fix NICs renumbering on Debian at least
  • Udev startup improvement to support iLO + NFS so modprobing all modules seems required as of now
  • Update to version 1.7.3 of busybox for pb
  • Load USB earlier in order to support KBD such as with iLO
  • Do busybox ldd first in order to create a potential /lib64 link correctly and then use it later in the image
  • Use variable DF in mindi to be able to support the ESX vdf
  • Fix mindi for Debian x86_64 where /lib64 is a link
  • Fix issue at restore time for ext2fs params not reused (Fix from Klaus Ade Johnstad <klaus_at_skolelinux.no>)
  • Do not copy udev files if they do not exist In udev case do not insert modules at all (udev should do it alone) May avoid the issue with rhel4.5 kernel ? To be tested
  • Update dependencies for rpm base build as well
  • And also perl is a debian/ubuntu dep
  • Better debian/ubuntu dependecies requirements (mtools)
  • Fix modes on mindi-bkphw (Thanks Phil Walker phil.walker_at_hp.com)
  • Complete rev [1771] for upper case RESTORE cli with syslinux as well
  • Update mindi-busybox to 1.7.3
  • Use RESTORE consistently across mondo to restore without interaction (report from Takeshi Shoji t.shoji_at_tripodw.jp)

(merge -r1769:1841 $SVN_M/branches/2.2.5)

Location:
branches/stable/mindi-busybox
Files:
1 deleted
9 edited

Legend:

Unmodified
Added
Removed
  • branches/stable/mindi-busybox/.config

    r1770 r1842  
    11#
    22# Automatically generated make config: don't edit
    3 # Busybox version: 1.7.2rPBREV
    4 # Sun Nov  4 01:53:17 2007
     3# Busybox version: 1.7.3-rPBREV
     4# Thu Nov 15 17:11:06 2007
    55#
    66CONFIG_HAVE_DOT_CONFIG=y
     
    8181# CONFIG_FEATURE_USERNAME_COMPLETION is not set
    8282# CONFIG_FEATURE_EDITING_FANCY_PROMPT is not set
    83 CONFIG_MONOTONIC_SYSCALL=y
     83# CONFIG_MONOTONIC_SYSCALL is not set
    8484CONFIG_IOCTL_HEX2STR_ERROR=y
    8585
  • branches/stable/mindi-busybox/Makefile

    r1770 r1842  
    11VERSION = 1
    22PATCHLEVEL = 7
    3 SUBLEVEL = 2
     3SUBLEVEL = 3
    44EXTRAVERSION = -rPBREV
    55NAME = Unnamed
  • branches/stable/mindi-busybox/coreutils/tail.c

    r1770 r1842  
    4848{
    4949    ssize_t r;
    50     off_t current, end;
     50    off_t current;
    5151    struct stat sbuf;
    5252
    53     end = current = lseek(fd, 0, SEEK_CUR);
    54     if (!fstat(fd, &sbuf))
    55         end = sbuf.st_size;
    56     lseek(fd, end < current ? 0 : current, SEEK_SET);
     53    /* (A good comment is missing here) */
     54    current = lseek(fd, 0, SEEK_CUR);
     55    /* /proc files report zero st_size, don't lseek them. */
     56    if (fstat(fd, &sbuf) == 0 && sbuf.st_size)
     57        if (sbuf.st_size < current)
     58            lseek(fd, 0, SEEK_SET);
     59
    5760    r = safe_read(fd, buf, count);
    5861    if (r < 0) {
     
    6871static unsigned eat_num(const char *p)
    6972{
    70     if (*p == '-') p++;
    71     else if (*p == '+') { p++; G.status = EXIT_FAILURE; }
     73    if (*p == '-')
     74        p++;
     75    else if (*p == '+') {
     76        p++;
     77        G.status = EXIT_FAILURE;
     78    }
    7279    return xatou_sfx(p, tail_suffixes);
    7380}
  • branches/stable/mindi-busybox/include/libbb.h

    r1770 r1842  
    777777extern void change_identity(const struct passwd *pw);
    778778extern const char *change_identity_e2str(const struct passwd *pw);
    779 extern void run_shell(const char *shell, int loginshell, const char *command, const char **additional_args);
     779extern void run_shell(const char *shell, int loginshell, const char *command, const char **additional_args) ATTRIBUTE_NORETURN;
    780780#if ENABLE_SELINUX
    781781extern void renew_current_security_context(void);
  • branches/stable/mindi-busybox/networking/httpd.c

    r1770 r1842  
    11861186     * and send it to the peer. So please no SIGPIPEs! */
    11871187    signal(SIGPIPE, SIG_IGN);
     1188
     1189    /* Accound for POSTDATA already in hdr_buf */
     1190    bodyLen -= hdr_cnt;
    11881191
    11891192    /* This loop still looks messy. What is an exit criteria?
  • branches/stable/mindi-busybox/networking/inetd.c

    r1770 r1842  
    735735    /* goto more; */
    736736
    737     sep->se_server = xxstrdup(skip(&cp));
     737    arg = skip(&cp);
     738    sep->se_server = xxstrdup(arg);
    738739    if (strcmp(sep->se_server, "internal") == 0) {
    739740#ifdef INETD_FEATURE_ENABLED
     
    760761#endif
    761762    argc = 0;
    762     for (arg = skip(&cp); cp; arg = skip(&cp)) {
     763    for (; cp; arg = skip(&cp)) {
    763764        if (argc < MAXARGV)
    764765            sep->se_argv[argc++] = xxstrdup(arg);
  • branches/stable/mindi-busybox/networking/libiproute/iptunnel.c

    r1770 r1842  
    242242            NEXT_ARG();
    243243            key = index_in_strings(keywords, *argv);
    244             if (key == ARG_any)
     244            if (key != ARG_any)
    245245                p->iph.daddr = get_addr32(*argv);
    246246        } else if (key == ARG_local) {
    247247            NEXT_ARG();
    248248            key = index_in_strings(keywords, *argv);
    249             if (key == ARG_any)
     249            if (key != ARG_any)
    250250                p->iph.saddr = get_addr32(*argv);
    251251        } else if (key == ARG_dev) {
  • branches/stable/mindi-busybox/shell/ash.c

    r1770 r1842  
    43804380/* Lives far away from here, needed for forkchild */
    43814381static void closescript(void);
     4382
    43824383/* Called after fork(), in child */
    43834384static void
     
    44244425        setsignal(SIGTERM);
    44254426    }
    4426 #if JOBS
    4427     /* For "jobs | cat" to work like in bash, we must retain list of jobs
    4428      * in child, but we do need to remove ourself */
    4429     if (jp)
    4430         freejob(jp);
    4431 #else
    44324427    for (jp = curjob; jp; jp = jp->prev_job)
    44334428        freejob(jp);
    4434 #endif
    44354429    jobless = 0;
    44364430}
  • branches/stable/mindi-busybox/sysklogd/logger.c

    r1770 r1842  
    108108    if (!argc) {
    109109#define strbuf bb_common_bufsiz1
    110         while (fgets(strbuf, BUFSIZ, stdin)) {
     110        while (fgets(strbuf, COMMON_BUFSIZE, stdin)) {
    111111            if (strbuf[0]
    112112             && NOT_LONE_CHAR(strbuf, '\n')
     
    118118    } else {
    119119        char *message = NULL;
    120         int len = 1; /* for NUL */
     120        int len = 0;
    121121        int pos = 0;
    122122        do {
    123123            len += strlen(*argv) + 1;
    124             message = xrealloc(message, len);
     124            message = xrealloc(message, len + 1);
    125125            sprintf(message + pos, " %s", *argv),
    126126            pos = len;
Note: See TracChangeset for help on using the changeset viewer.