Package br.com.objectos.rio

Examples of br.com.objectos.rio.GentooUpgrade


  @Override
  protected void executeCommand(EtoOsUpgradeOptions options) {
    OsDirs dirs = options.dirs(xtoDirs);

    GentooUpgrade upgrade = gentoo.upgrade(this)
        .tempDirAt(dirs.osVar())
        .mountDirAt(dirs.installMountDir())
        .resourcesAt(options.resourcesDir())

        .serverAt(options.fileServer())
        .stage3(options.getStage3Name())

        .toDevice(options.device)

        .mount()
        /**/.dev(3).at()
        /**/.dev(1).at("boot")
        .done()

        .build();

    if (options.download && !options.skipDownload) {
      upgrade.dowload();
    }

    if (options.unpack) {
      upgrade.unpack();
    }

    if (options.grub) {
      upgrade.grub();
    }
  }
View Full Code Here

TOP

Related Classes of br.com.objectos.rio.GentooUpgrade

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.