Changeset 3498 in MondoRescue for branches


Ignore:
Timestamp:
Feb 8, 2016, 11:12:20 PM (8 years ago)
Author:
Bruno Cornec
Message:
  • Adds a mr_sys module for the mr_system function and a unit test
Location:
branches/3.2/mondo
Files:
3 added
3 edited

Legend:

Unmodified
Added
Removed
  • branches/3.2/mondo/src/include/my-stuff.h

    r3494 r3498  
    184184 * @c mkisofs command to generate a bootable CD using isolinux, except for -o option and the directory to image.
    185185 */
    186 #define MONDO_MKISOFS_REGULAR_SYSLINUX  MONDO_MKISOFS"-J -boot-info-table -no-emul-boot -b isolinux/isolinux.bin -c isolinux/boot.cat -boot-load-size 4 "
     186#define MONDO_MKISOFS_REGULAR_SYSLINUX  MONDO_MKISOFS"-J -boot-info-table -no-emul-boot -b syslinux/isolinux.bin -c syslinux/boot.cat -boot-load-size 4 "
    187187
    188188/**
     
    204204 * @c growisofs command to generate a bootable DVD using isolinux, except for the directory to image.
    205205 */
    206 #define MONDO_GROWISOFS_REGULAR_SYSLINUX "growisofs -use-the-force-luke -J -no-emul-boot -boot-load-size 4 -b isolinux/isolinux.bin --boot-info-table -c isolinux/boot.cat -boot-load-size 4 -r -p MondoRescue -publisher www.mondorescue.org -A Mondo_Rescue_GPL_Version -V _CD#_ -v"
     206#define MONDO_GROWISOFS_REGULAR_SYSLINUX "growisofs -use-the-force-luke -J -no-emul-boot -boot-load-size 4 -b syslinux/isolinux.bin --boot-info-table -c syslinux/boot.cat -boot-load-size 4 -r -p MondoRescue -publisher www.mondorescue.org -A Mondo_Rescue_GPL_Version -V _CD#_ -v"
    207207
    208208/**
     
    214214 * @c growisofs command to generate a bootable DVD using LILO, except for the directory to image.
    215215     */
    216 #define MONDO_GROWISOFS_REGULAR_LILO     "growisofs -no-emul-boot -b isolinux/isolinux.bin -c isolinux/boot.cat -J -r -p MondoRescue -publisher www.mondorescue.org -A Mondo_Rescue_GPL -V _CD#_ -v"
     216#define MONDO_GROWISOFS_REGULAR_LILO     "growisofs -no-emul-boot -b syslinux/isolinux.bin -c syslinux/boot.cat -J -r -p MondoRescue -publisher www.mondorescue.org -A Mondo_Rescue_GPL -V _CD#_ -v"
    217217
    218218/**
  • branches/3.2/mondo/src/lib/Makefile.am

    r1361 r3498  
    77noinst_LIBRARIES = libmr.a
    88
    9 libmr_a_SOURCES  = mr_conf.c mr_str.c mr_mem.c mr_err.c mr_msg.c mr_file.c mr_list.c
     9libmr_a_SOURCES  = mr_conf.c mr_str.c mr_mem.c mr_err.c mr_msg.c mr_file.c mr_list.c mr_sys.c
  • branches/3.2/mondo/test/Makefile.am

    r3411 r3498  
    44## The program
    55mrtestdir                 = $(pkglibdir)/test
    6 mrtest_PROGRAMS           = mrtest_mountlist mrtest_truncname mrtest_stresc mrtest_str_substitute
     6mrtest_PROGRAMS           = mrtest_mountlist mrtest_truncname mrtest_stresc mrtest_str_substitute mrtest_mr_system
     7
    78mrtest_mountlist_SOURCES  = test-mountlist.c ${top_builddir}/src/mondorestore/mondo-prep.c ${top_builddir}/src/mondorestore/mondo-rstr-newt.c ${top_builddir}/src/mondorestore/mondo-rstr-tools.c
    89mrtest_mountlist_LDADD    = ${top_builddir}/src/common/libmondo.a ${top_builddir}/src/lib/libmr.a @MONDORESTORE_STATIC@
     10
    911mrtest_truncname_SOURCES  = test-truncname.c ${top_builddir}/src/common/libmondo-string.c
    1012mrtest_truncname_LDADD    = ${top_builddir}/src/common/libmondo.a ${top_builddir}/src/lib/libmr.a @MONDORESTORE_STATIC@
     13
    1114mrtest_stresc_SOURCES     = test-mr_stresc.c
    1215mrtest_stresc_LDADD       = ${top_builddir}/src/lib/libmr.a @MONDORESTORE_STATIC@
     16
    1317mrtest_str_substitute_SOURCES = test-mr_str_substitute.c
    1418mrtest_str_substitute_LDADD   = ${top_builddir}/src/lib/libmr.a @MONDORESTORE_STATIC@
     19
     20mrtest_mr_system_SOURCES  = test-mr_system.c
     21mrtest_mr_system_LDADD    = ${top_builddir}/src/lib/libmr.a @MONDORESTORE_STATIC@
Note: See TracChangeset for help on using the changeset viewer.