@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();
}
}