Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Poudriere - ZFS Jails zum Software-Bauen

fraosug
June 04, 2013

Poudriere - ZFS Jails zum Software-Bauen

Vortrag von Christopher J. Ruwe

fraosug

June 04, 2013
Tweet

More Decks by fraosug

Other Decks in Technology

Transcript

  1. Poudriere - ZFS Jails zum Software-Bauen Christopher J. Ruwe ⟨[email protected]

    Ports Tree Poudriere . . . .. . . . .. . . . .. . . . . .. . . . .. . . . .. . . . .. . . . . .. . . . .. . . . .. . . . .. . . . . .. . . . .. . . . .. . . . .. . . . . .. . . . .. . . . . .. . . . .. . . . .. . Poudriere - ZFS Jails zum Software-Bauen Christopher J. Ruwe ⟨[email protected]⟩ 04. Juni 2013
  2. Poudriere - ZFS Jails zum Software-Bauen Christopher J. Ruwe ⟨[email protected]

    Ports Tree Poudriere . . . .. . . . .. . . . .. . . . . .. . . . .. . . . .. . . . .. . . . . .. . . . .. . . . .. . . . .. . . . . .. . . . .. . . . .. . . . .. . . . . .. . . . .. . . . . .. . . . .. . . . .. . Outline . . 1 Ports Tree Funktionsweise Optionen autoconf Probleme . . 2 Poudriere Funktion Aufruf Problemlösung Demo
  3. Poudriere - ZFS Jails zum Software-Bauen Christopher J. Ruwe ⟨[email protected]

    Ports Tree Funktionsweise Optionen autoconf Probleme Poudriere . . . .. . . . .. . . . .. . . . . .. . . . .. . . . .. . . . .. . . . . .. . . . .. . . . .. . . . .. . . . . .. . . . .. . . . .. . . . .. . . . . .. . . . .. . . . . .. . . . .. . . . .. . Wie baut man eigentlich Software in Ports?
  4. Poudriere - ZFS Jails zum Software-Bauen Christopher J. Ruwe ⟨[email protected]

    Ports Tree Funktionsweise Optionen autoconf Probleme Poudriere . . . .. . . . .. . . . .. . . . . .. . . . .. . . . .. . . . .. . . . . .. . . . .. . . . .. . . . .. . . . . .. . . . .. . . . .. . . . .. . . . . .. . . . .. . . . . .. . . . .. . . . .. . Was passiert mit compile time options?
  5. Poudriere - ZFS Jails zum Software-Bauen Christopher J. Ruwe ⟨[email protected]

    Ports Tree Funktionsweise Optionen autoconf Probleme Poudriere . . . .. . . . .. . . . .. . . . . .. . . . .. . . . .. . . . .. . . . . .. . . . .. . . . .. . . . .. . . . . .. . . . .. . . . .. . . . .. . . . . .. . . . .. . . . . .. . . . .. . . . .. . Was passiert mit autoconf?
  6. Poudriere - ZFS Jails zum Software-Bauen Christopher J. Ruwe ⟨[email protected]

    Ports Tree Funktionsweise Optionen autoconf Probleme Poudriere . . . .. . . . .. . . . .. . . . . .. . . . .. . . . .. . . . .. . . . . .. . . . .. . . . .. . . . .. . . . . .. . . . .. . . . .. . . . .. . . . . .. . . . .. . . . . .. . . . .. . . . .. . bis jetzt • der Ports Tree definiert Abhändigkeiten • Options modifzieren Abhängigkeiten • Abhängigkeiten können passieren
  7. Poudriere - ZFS Jails zum Software-Bauen Christopher J. Ruwe ⟨[email protected]

    Ports Tree Funktionsweise Optionen autoconf Probleme Poudriere . . . .. . . . .. . . . .. . . . . .. . . . .. . . . .. . . . .. . . . . .. . . . .. . . . .. . . . .. . . . . .. . . . .. . . . .. . . . .. . . . . .. . . . .. . . . . .. . . . .. . . . .. . Probleme? • passierte Abhängigkeiten können gewaltig Ärger machen • bei einem update ändert sich im laufenden Betrieb meine Software • Software wird installiert, wenn der Compile fertig ist - kann zu sehr unangenehmen Abhängigkeitskonflikten führen • wenn ich Optionen ändere, bekommt das kein Schwein mit • ich kann doch nicht auf jeder Maschine rumkompilieren - wo kommen wir denn da hin???
  8. Poudriere - ZFS Jails zum Software-Bauen Christopher J. Ruwe ⟨[email protected]

    Ports Tree Poudriere Funktion Aufruf Problemlösung Demo . . . .. . . . .. . . . .. . . . . .. . . . .. . . . .. . . . .. . . . . .. . . . .. . . . .. . . . .. . . . . .. . . . .. . . . .. . . . .. . . . . .. . . . .. . . . . .. . . . .. . . . .. . Funktion • Poudriere baut in Jails auf ZFS-Dateisystemen • für jedes Paket wird das Jail abgerissen (zfs destroy) • und aus einem absolut sauberen neu gebaut (zfs clone) • Binär-Pakte werden sauber abgelegt • und bei builds verwendet - wenn sie denn schon da sind • Optionen werden geprüft
  9. Poudriere - ZFS Jails zum Software-Bauen Christopher J. Ruwe ⟨[email protected]

    Ports Tree Poudriere Funktion Aufruf Problemlösung Demo . . . .. . . . .. . . . .. . . . . .. . . . .. . . . .. . . . .. . . . . .. . . . .. . . . .. . . . .. . . . . .. . . . .. . . . .. . . . .. . . . . .. . . . .. . . . . .. . . . .. . . . .. . Wie muß ich mir das vorstellen?
  10. Poudriere - ZFS Jails zum Software-Bauen Christopher J. Ruwe ⟨[email protected]

    Ports Tree Poudriere Funktion Aufruf Problemlösung Demo . . . .. . . . .. . . . .. . . . . .. . . . .. . . . .. . . . .. . . . . .. . . . .. . . . .. . . . .. . . . . .. . . . .. . . . .. . . . .. . . . . .. . . . .. . . . . .. . . . .. . . . .. . Wie ist das konkret? • poudriere jail • poudriere ports • poudriere options • poudriere bulk • CUSTOMIZATION -a <arch> -j <name> -p <ports> -z <set>
  11. Poudriere - ZFS Jails zum Software-Bauen Christopher J. Ruwe ⟨[email protected]

    Ports Tree Poudriere Funktion Aufruf Problemlösung Demo . . . .. . . . .. . . . .. . . . . .. . . . .. . . . .. . . . .. . . . . .. . . . .. . . . .. . . . .. . . . . .. . . . .. . . . .. . . . .. . . . . .. . . . .. . . . . .. . . . .. . . . .. . Was wird damit gelöst? • klare, sauber definierte Abhängigkeitsbäume • Installation erst, wenn wirklich, wirklich fertig • Probleme beim Compile bleiben isoliert
  12. Poudriere - ZFS Jails zum Software-Bauen Christopher J. Ruwe ⟨[email protected]

    Ports Tree Poudriere Funktion Aufruf Problemlösung Demo . . . .. . . . .. . . . .. . . . . .. . . . .. . . . .. . . . .. . . . . .. . . . .. . . . .. . . . .. . . . . .. . . . .. . . . .. . . . .. . . . . .. . . . .. . . . . .. . . . .. . . . .. . Wollen wir und das mal ansehen?