FreeBSD: packaging base

Size: px
Start display at page:

Download "FreeBSD: packaging base"

Transcription

1 FreeBSD: packaging base A rainbow bikeshed Baptiste Daroussin bapt@freebsd.org BSDCan 2015 Ottawa June 13st, 2015

2 Packaging base BSDCan 2015 FreeBSD: packaging base 2 of 14

3 Packaging base? BSDCan 2015 FreeBSD: packaging base 3 of 14

4 Packaging base? Do not split BSDCan 2015 FreeBSD: packaging base 3 of 14

5 Packaging base? Do not split Allow minimal installation BSDCan 2015 FreeBSD: packaging base 3 of 14

6 Packaging base? Do not split Allow minimal installation No toolchain BSDCan 2015 FreeBSD: packaging base 3 of 14

7 Packaging base? Do not split Allow minimal installation No toolchain No sendmail BSDCan 2015 FreeBSD: packaging base 3 of 14

8 Packaging base? Do not split Allow minimal installation No toolchain No sendmail No development file BSDCan 2015 FreeBSD: packaging base 3 of 14

9 Packaging base? Do not split Allow minimal installation No toolchain No sendmail No development file No documentation BSDCan 2015 FreeBSD: packaging base 3 of 14

10 Packaging base? Do not split Allow minimal installation No toolchain No sendmail No development file No documentation I want debug files BSDCan 2015 FreeBSD: packaging base 3 of 14

11 Let s try to paint it rainbow FreeBSD FreeBSD-base FreeBSD-kernel FreeBSD-docs BSDCan 2015 FreeBSD: packaging base 4 of 14

12 Let s try to paint it rainbow FreeBSD FreeBSD-base FreeBSD-kernel FreeBSD-docs FreeBSD-minimal FreeBSD-develepment BSDCan 2015 FreeBSD: packaging base 4 of 14

13 Let s try to paint it rainbow FreeBSD FreeBSD-base FreeBSD-kernel FreeBSD-docs FreeBSD-minimal FreeBSD-develepment FreeBSD-toolchain BSDCan 2015 FreeBSD: packaging base 4 of 14

14 Let s try to paint it rainbow FreeBSD FreeBSD-base FreeBSD-kernel FreeBSD-docs FreeBSD-minimal FreeBSD-develepment FreeBSD-toolchain FreeBSD-sendmail FreeBSD-openssl FreeBSD-bhyve BSDCan 2015 FreeBSD: packaging base 4 of 14

15 Let s try to paint it rainbow FreeBSD FreeBSD-base FreeBSD-kernel FreeBSD-docs FreeBSD-minimal FreeBSD-develepment FreeBSD-toolchain FreeBSD-sendmail FreeBSD-openssl FreeBSD-bhyve runtime separated from development files BSDCan 2015 FreeBSD: packaging base 4 of 14

16 Let s try to paint it rainbow FreeBSD FreeBSD-base FreeBSD-kernel FreeBSD-docs FreeBSD-minimal FreeBSD-develepment FreeBSD-toolchain FreeBSD-sendmail FreeBSD-openssl FreeBSD-bhyve runtime separated from development files FreeBSD-docs (does not concern manpages) BSDCan 2015 FreeBSD: packaging base 4 of 14

17 Let s try to paint it rainbow FreeBSD FreeBSD-base FreeBSD-kernel FreeBSD-docs FreeBSD-minimal FreeBSD-develepment FreeBSD-toolchain FreeBSD-sendmail FreeBSD-openssl FreeBSD-bhyve runtime separated from development files FreeBSD-docs (does not concern manpages) -debug packages BSDCan 2015 FreeBSD: packaging base 4 of 14

18 Why? Binary upgrade of the system For RELEASE (like freebsd-update) For STABLE For CURRENT Allow users to do fine grain installations (no toolchain, no sendmail, etc.) Allow developers to provide packages for users to test Fine grain merging of configuration files Being able to upgrade the loader and its configurations! BSDCan 2015 FreeBSD: packaging base 5 of 14

19 Goals Integrated into the build system $ make packages Buildable as regular user Reproductible $ make repackages Automatic version bump on the right packages when patching a release $ make rerelease Automatically handling configuration files (merging) Cross installable BSDCan 2015 FreeBSD: packaging base 6 of 14

20 Versionning CURRENT: 12.s<date> STABLE: After 11.0-RELEASE and before 11.1-RELEASE: 11.1.s<date> RELEASE: ALPHA: 11.0.aX BETA: 11.0.bX RC: 11.0.pX (not r to not confuse with "release") RELEASE: 11.0 Security fix: 11.0_1 BSDCan 2015 FreeBSD: packaging base 7 of 14

21 Modification needed in pkg(8) Handling file flags immutable (added in pkg 1.5) Ability to handle configuration files and merge them (added in pkg 1.5) new 3 way merge code from the fossil VCS Better support for cross installation: pkg -r <rootdir> (added in pkg 1.5) scripts PKG_ROOTDIR (added in pkg 1.5) BSDCan 2015 FreeBSD: packaging base 8 of 14

22 Hooking in the build system Reuse the -DNO_ROOT mechanism Add tags to the generated mtree to determine packages content Automatic plist generation Packages metadata UCL manifest release/packages/*.ucl New targets: stageworld stagekernel packages BSDCan 2015 FreeBSD: packaging base 9 of 14

23 Integration in the build system Tags (automatic via bsd.*.mk): package=runtime development config (not automatic) Overwritting (cherrypicking files for a new package) PROG = bhyve PACKAGE = bhyve MAN = bhyve.8 [...] BSDCan 2015 FreeBSD: packaging base 10 of 14

24 Issues with the build system: NO_ROOT mtree(8): In stdout: === > share / examples ( install ).: user (0, 1001, not modified : Operation not permitted ) lib32 : user (0, 1001, not modified : Operation not permitted ) lib32 / dtrace : user (0, 1001, not modified : Operation not permitted ) lib32 / i18n : user (0, 1001, not modified : Operation not permitted ) chflags(1) vs modes: chflags : /usr /obj /home /bapt /dev /src - trees /release -pkg / stage /usr /bin / chpass : Operation not permitted chflags : /usr /obj /home /bapt /dev /src - trees /release -pkg / stage /usr /bin / passwd : Operation not permitted Installation not using install(1) BSDCan 2015 FreeBSD: packaging base 11 of 14

25 Issues with the build system: installworld crap bsd.tests.mk/bsd.progs.mk installing files multiple times - BLOCKER ===> Creating FreeBSD -runtime s pkg : duplicate file listing : /usr / tests /lib /libc /db/db_test, ignoring pkg : duplicate file listing : /usr / tests /lib /libc /gen / posix_spawn / h_nonexec, ignoring pkg : duplicate file listing : /usr / tests /lib /libc /gen / posix_spawn /h_zero, ignoring pkg : duplicate file listing : /usr / tests /lib /libc /gen / posix_spawn / h_nonexec, ignoring etc configuration files generates the db files not installed at installworld time BSDCan 2015 FreeBSD: packaging base 12 of 14

26 End user point of view Upgrading the system: $ pkg upgrade Creating a FreeBSD disk: $ mkdir newimage $ pkg -r newimage install FreeBSD $ makefs -B little FreeBSD. img newimage Creating an armv6 disk image on an amd64 host: $ mkdir armv6image $ pkg -r armv6image -o "ABI=FreeBSD :11: armv6 " install FreeBSD - minimal $ makefs -B little FreeBSD. img armv6newimage Upgrading and armv6 image on an amd64 host: $ pkg -r armv6image upgrade BSDCan 2015 FreeBSD: packaging base 13 of 14

27 Questions? Thanks BSDCan 2015 FreeBSD: packaging base 14 of 14

Cross build in the FreeBSD ports tree

Cross build in the FreeBSD ports tree Cross build in the FreeBSD ports tree Baptiste Daroussin bapt@freebsd.org EuroBSDCon 2014 Sofia - Bulgaria September 28, 2014 Goals Building packages for Tiers-2 arches Building packages for low power

More information

FREEBSD BASED HIGH DENSITY FILERS

FREEBSD BASED HIGH DENSITY FILERS FREEBSD BASED HIGH DENSITY FILERS Baptiste Daroussin < bapt@gandi.net> < bapt@freebsd.org> BSDCan 2016 GANDI.NET REFRESHING THE FILERS Nexenta based since 2007 Difficulty to provide non attended setup

More information

Hardening servers for the modern internet

Hardening servers for the modern internet Hardening servers for the modern internet Philip Paeps The FreeBSD Foundation SANOG32 7 August 2018 Dhaka, Bangladesh Session 1 (09:00 11:00) 1. Presentation: Introduction to the FreeBSD project (30 minutes)

More information

Computer Center, CS, NCTU. Outline. FreeBSD version 8.2-RELEASE. Installing FreeBSD. From CD-ROM

Computer Center, CS, NCTU. Outline. FreeBSD version 8.2-RELEASE. Installing FreeBSD. From CD-ROM FreeBSD changlp Outline FreeBSD version 8.2-RELEASE Installing FreeBSD From CD-ROM 2 FreeBSD Version FreeBSD Branches/Tags Three parallel development branches: -RELEASE Latest Release Version: 8.2 (Feb,

More information

An Overview of Security in the FreeBSD Kernel. Brought to you by. Dr. Marshall Kirk McKusick

An Overview of Security in the FreeBSD Kernel. Brought to you by. Dr. Marshall Kirk McKusick An Overview of Security in the FreeBSD Kernel Brought to you by Dr. Marshall Kirk McKusick 2013 BSDCan Conference May 17, 2013 University of Ottawa Ottawa, Canada Copyright 2013 Marshall Kirk McKusick.

More information

Welcome to getting started with Ubuntu Server. This System Administrator Manual. guide to be simple to follow, with step by step instructions

Welcome to getting started with Ubuntu Server. This System Administrator Manual. guide to be simple to follow, with step by step instructions Welcome to getting started with Ubuntu 12.04 Server. This System Administrator Manual guide to be simple to follow, with step by step instructions with screenshots INDEX 1.Installation of Ubuntu 12.04

More information

A Smart Way to Manage Packages in Yocto Project

A Smart Way to Manage Packages in Yocto Project A Smart Way to Manage Packages in Yocto Project Jul 14th, 2016 Fan Xin, Fujitsu Computer Technologies Limited fan.xin@jp.fujitsu.com 1378ka03 whoami Fan Xin, Fujitsu Computer Technologies Ltd. Embedded

More information

HowTo Setup a jail on top of XigmaNAS

HowTo Setup a jail on top of XigmaNAS 2019/01/23 10:06 1/12 HowTo Setup a jail on top of XigmaNAS If you are concerned about breaking your installation, and you have not studied the topics involved, DO NOT DO ANY OF THE FOLLOWING! THIS IS

More information

The Linux IPL Procedure

The Linux IPL Procedure The Linux IPL Procedure SHARE - Tampa February 13, 2007 Session 9274 Edmund MacKenty Rocket Software, Inc. Purpose De-mystify the Linux boot sequence Explain what happens each step of the way Describe

More information

A program execution is memory safe so long as memory access errors never occur:

A program execution is memory safe so long as memory access errors never occur: A program execution is memory safe so long as memory access errors never occur: Buffer overflows, null pointer dereference, use after free, use of uninitialized memory, illegal free Memory safety categories

More information

Computer Center, CS, NCTU. Outline. FreeBSD version 9.0-RELEASE 9.1-RC1. Installing FreeBSD. From CD-ROM From USB

Computer Center, CS, NCTU. Outline. FreeBSD version 9.0-RELEASE 9.1-RC1. Installing FreeBSD. From CD-ROM From USB FreeBSD huanghs Outline FreeBSD version 9.0-RELEASE 9.1-RC1 Installing FreeBSD From CD-ROM From USB 2 FreeBSD Version 4 FreeBSD Branches/Tags Three parallel development branches: -RELEASE Latest Release

More information

Maintain the NetBSD Base System Using pkg_* Tools. Yuuki Enomoto Ken ichi Fukamachi Chitose Institute of Science and Technology

Maintain the NetBSD Base System Using pkg_* Tools. Yuuki Enomoto Ken ichi Fukamachi Chitose Institute of Science and Technology Maintain the NetBSD Base System Using pkg_* Tools Yuuki Enomoto Ken ichi Fukamachi Chitose Institute of Science and Technology Abstract This presentation explains basepkg.sh. Fine granular system can be

More information

New features in and around the FreeBSD portstree

New features in and around the FreeBSD portstree New features in and around the FreeBSD portstree Beat Gätzi beat@freebsd.org University of Applied Sciences, Vienna, Austria May 5, 2012 common problem when working with packages Install an additional

More information

Ubuntu Development Primer

Ubuntu Development Primer Ubuntu Development Primer How to stop monkey patching and start committing Dave Chiluk chiluk@ubuntu.com Topics Getting support Launchpad Modifying Sources Building Submitting changes The Kernel Me. Dave

More information

EAPI Cheat Sheet. Version th November Abstract

EAPI Cheat Sheet. Version th November Abstract EAPI Cheat Sheet Christian Faulhammer fauli@gentoo.org Ulrich Müller ulm@gentoo.org Version 6.0 19th November 2015 Abstract An overview of the main EAPI changes in Gentoo, for ebuild authors. For full

More information

Gentoo Ebuilds 101. Arun Raghavan. Foss.in November 30, 2005

Gentoo Ebuilds 101. Arun Raghavan. Foss.in November 30, 2005 Gentoo Ebuilds 101 Arun Raghavan Foss.in November 30, 2005 Abstract A basic introduction to Gentoo Linux ebuild scripts, what they contain, how they work, and most importantly how to write one. Overview

More information

Multiarch - why it s important

Multiarch - why it s important Multiarch - why it s important Wookey The Cross-building victim 4th February 2012 FOSDEM Brussels, Belgium Wookey (Linaro) Multiarch - why it s important FOSDEM 2012, Brussels 1 / 31 Mulitarch What is

More information

Install your scientific software stack easily with Spack

Install your scientific software stack easily with Spack Install your scientific software stack easily with Spack Les mardis du développement technologique Florent Pruvost (SED) Outline 1. Context 2. Features overview 3. In practice 4. Some feedback Florent

More information

Filesystem Performance on FreeBSD

Filesystem Performance on FreeBSD Filesystem Performance on FreeBSD Kris Kennaway kris@freebsd.org BSDCan 2006, Ottawa, May 12 Introduction Filesystem performance has many aspects No single metric for quantifying it I will focus on aspects

More information

Outline. Computer Center, CS, NCTU. FreeBSD version. Installing FreeBSD. Build world and kernel. Software installation Appendix 8.

Outline. Computer Center, CS, NCTU. FreeBSD version. Installing FreeBSD. Build world and kernel. Software installation Appendix 8. FreeBSD Outline FreeBSD version 8.1-RELEASE Installing FreeBSD From CD-ROM Build world and kernel Update source Rebuild world Rebuild kernel Software installation Appendix Csup 2 3 FreeBSD Version FreeBSD

More information

Dockerfile Best Practices

Dockerfile Best Practices Dockerfile Best Practices OpenRheinRuhr 2015 November 07th, 2015 1 Dockerfile Best Practices Outline About Dockerfile Best Practices Building Images This work is licensed under the Creative Commons Attribution-ShareAlike

More information

Exercise 1 FreeBSD Installation. Announced Date: 2006/9/20 Due Date: 2005/10/4

Exercise 1 FreeBSD Installation. Announced Date: 2006/9/20 Due Date: 2005/10/4 Exercise 1 FreeBSD Installation Announced Date: 2006/9/20 Due Date: 2005/10/4 Outline FreeBSD version Installing FreeBSD Update source and make world Rebuild kernel 2 FreeBSD branches Two parallel development

More information

CS197U: A Hands on Introduction to Unix

CS197U: A Hands on Introduction to Unix CS197U: A Hands on Introduction to Unix Lecture 3: UNIX Operating System Organization Tian Guo CICS, Umass Amherst 1 Reminders Assignment 2 is due THURSDAY 09/24 at 3:45 pm Directions are on the website

More information

PyUpdater wxpython Demo Documentation

PyUpdater wxpython Demo Documentation PyUpdater wxpython Demo Documentation Release 0.0.1 James Wettenhall Nov 17, 2017 Contents 1 Demo of a Self-Updating wxpython Application 3 1.1 Running from Source..........................................

More information

Project 1 Setup. Some relevant details are the output of: 1. uname -a 2. cat /etc/*release 3. whereis java 4. java -version 5.

Project 1 Setup. Some relevant details are the output of: 1. uname -a 2. cat /etc/*release 3. whereis java 4. java -version 5. Project 1 Setup The purpose of this document is to help you to prepare your development machine for the project by: 1. Installing any missing tools 2. Setting up required environment variables and paths

More information

Essential Unix and Linux! Perl for Bioinformatics, ! F. Pineda

Essential Unix and Linux! Perl for Bioinformatics, ! F. Pineda Essential Unix and Linux! Perl for Bioinformatics, 140.636! F. Pineda Generic computer architecture Memory Storage Fig. 1.2 From Designing Embedded Hardware, 2 nd Ed. by John Catsoulis OS concepts Shell

More information

swiftenv Documentation

swiftenv Documentation swiftenv Documentation Release 1.3.0 Kyle Fuller Sep 27, 2017 Contents 1 The User Guide 3 1.1 Installation................................................ 3 1.2 Getting Started..............................................

More information

Porting bhyve on ARM. Mihai Carabas, Peter Grehan BSDCan 2016 University of Ottawa Ottawa, Canada June 10 11, 2016

Porting bhyve on ARM. Mihai Carabas, Peter Grehan BSDCan 2016 University of Ottawa Ottawa, Canada June 10 11, 2016 Porting bhyve on ARM Mihai Carabas, Peter Grehan {mihai,grehan}@freebsd.org BSDCan 2016 University of Ottawa Ottawa, Canada June 10 11, 2016 About me University POLITEHNICA of Bucharest PhD Student: virtualization

More information

Configuring Build Base on FreeBSD

Configuring Build Base on FreeBSD Configuring Build Base on FreeBSD Roberto Fernandez Cueto FOSDEM February 3rd, 2018 Roberto Fernandez Cueto Configuring Build Base on FreeBSD FOSDEM February 3rd, 2018 1 / 16 About the Author FreeBSD Developer

More information

Design, Implementation and Operation of NetBSD Base System Packaging

Design, Implementation and Operation of NetBSD Base System Packaging Design, Implementation and Operation of NetBSD Base System Packaging Yuuki Enomoto Ken ichi Fukamachi Abstract It is believed that UNIX operating system (OS) built on fine granular small parts is preferable

More information

Build Your Own FreeBSD Update Server

Build Your Own FreeBSD Update Server Build Your Own FreeBSD Update Server Jason Helfman Revision: 51862 Copyright 2009, 2010, 2011, 2013 Jason Helfman FreeBSD is a registered trademark of the FreeBSD Foundation. Many of

More information

OpenSSL Software Foundation, Inc.

OpenSSL Software Foundation, Inc. OpenSSL Software Foundation, Inc 1829 Mount Ephraim Road Adamstown, MD 21710 USA +1 877 673 6775 support@opensslfoundationcom Instructions for CMVP Testing FreeBSD 92 on x86 June 24, 2014 Table of Contents

More information

cget Documentation Release Paul Fultz II

cget Documentation Release Paul Fultz II cget Documentation Release 0.1.0 Paul Fultz II Jun 27, 2018 Contents 1 Introduction 3 1.1 Installing cget.............................................. 3 1.2 Quickstart................................................

More information

ZFS: Advanced Integration. Allan Jude --

ZFS: Advanced Integration. Allan Jude -- ZFS: Advanced Integration Allan Jude -- allanjude@freebsd.org @allanjude Introduction: Allan Jude 16 Years as FreeBSD Server Admin FreeBSD src/doc committer (ZFS, installer, boot loader, GELI, bhyve, libucl,

More information

FreeBSD Tool Chain. Ed Maste BSDCan 2017

FreeBSD Tool Chain. Ed Maste BSDCan 2017 FreeBSD Tool Chain Ed Maste BSDCan 2017 GNU Tool Chain GNU Tool Chain... GNU Tool Chain Architecture Dependency Debugger Arch 9.x 10.0 10.x 11.0 11.x Soon Later i386 GDB 6.1.1 GDB 6.1.1 GDB 6.1.1

More information

RED HAT DEVELOPER TOOLSET: Build, Run, & Analyze Applications On Multiple Versions of Red Hat Enterprise Linux

RED HAT DEVELOPER TOOLSET: Build, Run, & Analyze Applications On Multiple Versions of Red Hat Enterprise Linux RED HAT DEVELOPER TOOLSET: Build, Run, & Analyze Applications On Multiple Versions of Red Hat Enterprise Linux Dr. Matt Newsome Engineering Manager Tools 13/JUN/13 v0.8 -> Introduction Dr. Matt Newsome

More information

Chapter Two. Lesson A. Objectives. Exploring the UNIX File System and File Security. Understanding Files and Directories

Chapter Two. Lesson A. Objectives. Exploring the UNIX File System and File Security. Understanding Files and Directories Chapter Two Exploring the UNIX File System and File Security Lesson A Understanding Files and Directories 2 Objectives Discuss and explain the UNIX file system Define a UNIX file system partition Use the

More information

Filesystem Hierarchy and Permissions

Filesystem Hierarchy and Permissions 2 and Prepared by Steven Gordon on 19 April 2017 Common/Reports/linux-file-permissions.tex, r1417 1 Multiuser and Server Operating System systems are commonly used as a multi-user system E.g. multiple

More information

e2 factory the emlix Embedded Build Framework

e2 factory the emlix Embedded Build Framework e2 factory the emlix Embedded Build Framework Agenda Motivation Basic Concepts Design and Implementation Working with e2 factory e2 factory Motivation Motivation Development Tools Source Code Management

More information

Lecture 2: The file system

Lecture 2: The file system Lecture 2: The file system Hands-on Unix System Administration DeCal 2012-01-30 1 / 19 Basic programs Basic commands 2 / 19 Basic programs Basic programs Basic commands pwd cd ls cp, mv less, vi 3 / 19

More information

FreeBSD Security Advisories

FreeBSD Security Advisories Security FreeBSD Security Advisories http://www.freebsd.org/security/advisories.html 2 FreeBSD Security Advisories Advisory Security information Where to find it Web page (Security Advisories Channel)

More information

Transitioning from uclibc to musl for embedded development. Embedded Linux Conference 2015 Rich Felker, maintainer, musl libc March 24, 2015

Transitioning from uclibc to musl for embedded development. Embedded Linux Conference 2015 Rich Felker, maintainer, musl libc March 24, 2015 Transitioning from uclibc to musl for embedded development Embedded Linux Conference 2015 Rich Felker, maintainer, musl libc March 24, 2015 What is musl? musl is a libc, an implementation of the user-space

More information

Filesystem Hierarchy and Permissions

Filesystem Hierarchy and Permissions and Linux Prepared by Steven Gordon on 19 April 2017 Common/Reports/linux-file-permissions.tex, r1417 1/15 Multiuser and Server Operating System Linux systems are commonly used as a multi-user system E.g.

More information

Working with Ubuntu Linux. Track 2 Workshop June 2010 Pago Pago, American Samoa

Working with Ubuntu Linux. Track 2 Workshop June 2010 Pago Pago, American Samoa Working with Ubuntu Linux Track 2 Workshop June 2010 Pago Pago, American Samoa Assumptions You are comfortable with the following: Core Linux concepts - Shells - Permissions - Graphical user interface

More information

Logging, Monitoring, and Alerting

Logging, Monitoring, and Alerting Logging, Monitoring, and Alerting Logs are a part of daily life in the DevOps world In security, we focus on particular logs to detect security anomalies and for forensic capabilities A basic logging pipeline

More information

The landscape. File hierarchy overview. A tree structure of directories The directory tree is standardized. But varies slightly among distributions

The landscape. File hierarchy overview. A tree structure of directories The directory tree is standardized. But varies slightly among distributions The landscape David Morgan File hierarchy overview A tree structure of directories The directory tree is standardized But varies slightly among distributions portions can spread across different partitions

More information

Overview of the UNIX File System

Overview of the UNIX File System Overview of the UNIX File System Navigating and Viewing Directories Adapted from Practical Unix and Programming Hunter College Copyright 2006 Stewart Weiss The UNIX file system The most distinguishing

More information

Using Boot Environments at Scale. Allan Jude Klara Systems

Using Boot Environments at Scale. Allan Jude Klara Systems Using Boot Environments at Scale Allan Jude allanjude@freebsd.org Klara Systems Introduction FreeBSD Server Admin since 2001 4 Years as FreeBSD committer ZFS, installer, boot loader, GELI (FDE) FreeBSD

More information

Linux Essentials. Programming and Data Structures Lab M Tech CS First Year, First Semester

Linux Essentials. Programming and Data Structures Lab M Tech CS First Year, First Semester Linux Essentials Programming and Data Structures Lab M Tech CS First Year, First Semester Adapted from PDS Lab 2014 and 2015 Login, Logout, Password $ ssh mtc16xx@192.168.---.--- $ ssh X mtc16xx@192.168.---.---

More information

LINUXBUILD User's Manual

LINUXBUILD User's Manual . LEON Linux Linux for LEON processors 2017 User's Manual The most important thing we build is trust LINUXBUILD User's Manual Linux build environment for LEON systems 1 www.cobham.com/gaisler Table of

More information

Tracking FreeBSD in a Commercial Environment

Tracking FreeBSD in a Commercial Environment Tracking FreeBSD in a Commercial Environment imp@freebsd.org The FreeBSD Project BSDCan 2009 Ottawa, Canada 8 May 2009 Outline Background and Context 1 Background and Context 2 Theory Reality 3 Upgrading

More information

USING GIT WITH, AND AUTOMATING MUNKI. Adam Reed

USING GIT WITH, AND AUTOMATING MUNKI. Adam Reed USING GIT WITH, AND AUTOMATING MUNKI Adam Reed The Australian National University Hashtag : #xw13 Please leave comments on this talk at auc.edu.au/xworld/sessions 1 Git Powerful Version Control System

More information

Computer Systems and Architecture

Computer Systems and Architecture Computer Systems and Architecture Stephen Pauwels Computer Systems Academic Year 2018-2019 Overview of the Semester UNIX Introductie Regular Expressions Scripting Data Representation Integers, Fixed point,

More information

Unix File System. Class Meeting 2. * Notes adapted by Joy Mukherjee from previous work by other members of the CS faculty at Virginia Tech

Unix File System. Class Meeting 2. * Notes adapted by Joy Mukherjee from previous work by other members of the CS faculty at Virginia Tech Unix File System Class Meeting 2 * Notes adapted by Joy Mukherjee from previous work by other members of the CS faculty at Virginia Tech Unix File System The file system is your interface to: physical

More information

GUT. GUT Installation Guide

GUT. GUT Installation Guide Date : 17 Mar 2011 1/6 GUT Contents 1 Introduction...2 2 Installing GUT...2 2.1 Optional Extensions...2 2.2 Installation using the Binary package...2 2.2.1 Linux or Mac OS X...2 2.2.2 Windows...4 2.3 Installing

More information

A Brief History of FreeBSD/mips

A Brief History of FreeBSD/mips A Brief History of FreeBSD/mips Warner Losh FreeBSD Core Team Cisco Systems imp@freebsd.org BSDCan 2008 Ottawa, ON, Canada www.freebsd.org/~imp/bsdcan2008.pdf FreeBSD/mips in 3.x! Early port of FreeBSD

More information

Aurelien Jarno 26/02/2006 FOSDEM. Debian GNU/kFreeBSD. Aurelien Jarno. What? Why? Status. The future. How to help?

Aurelien Jarno 26/02/2006 FOSDEM. Debian GNU/kFreeBSD. Aurelien Jarno. What? Why? Status. The future. How to help? aurel32@debian.org FOSDEM 26/02/2006 What is? port FreeBSD kernel (kfreebsd for short) kfreebsd 5.4 experimental version of kfreebsd 6.0 GNU userland GNU libc Cool tools (dpkg, apt,...) A Gentoo port has

More information

EPICS Add On Products SourceRelease Control

EPICS Add On Products SourceRelease Control mn 1 4 1998 EPICS Add On Products SourceRelease Control Jim Kowalkowski, John Winnans, Janet Anderson, Marty Kraimer May 17,1994 A P S Release 3.11.6 DISCLAIMER This report was prepared as an account of

More information

Developing Kubernetes Services

Developing Kubernetes Services / MARCH 2019 / CON LONDON Developing Kubernetes Services at Airbnb Scale What is kubernetes? @MELAN IECEBULA Who am I? A BRIEF HISTORY Why Microservices? 4000000 3000000 MONOLITH LOC 2000000 1000000 0

More information

Building Custom Debian Distributions with the CDDTk

Building Custom Debian Distributions with the CDDTk Building Custom Debian Distributions with the CDDTk IV Jornades de Programari Lliure Campus de Vilanova i la Geltrú, UPC 8 July 2005 Sergio Talens-Oliag sto@debian.org 1/25 What is Debian? The Debian Project

More information

IT Automation with Puppet

IT Automation with Puppet IT Automation with Puppet Romain Tartière BSDCan 2018 University of Ottawa Ottawa, Canada June 9 th, 2018 Photo: Ollivier Robert Romain Tartière FreeBSD user since 2002 (I guess FreeBSD

More information

Embedded System Design

Embedded System Design Embedded System Design Lecture 10 Jaeyong Chung Systems-on-Chips (SoC) Laboratory Incheon National University Environment Variables Environment variables are a set of dynamic named values that can affect

More information

what and why DSpace AddOn and Component Management System

what and why DSpace AddOn and Component Management System Component Management System Richard Jones, April 2006 what and why What is an addon or component? a third-party feature a localisation an official DSpace component why do we need them? ease creation of

More information

Non-Blocking Writes to Files

Non-Blocking Writes to Files Non-Blocking Writes to Files Daniel Campello, Hector Lopez, Luis Useche 1, Ricardo Koller 2, and Raju Rangaswami 1 Google, Inc. 2 IBM TJ Watson Memory Memory Synchrony vs Asynchrony Applications have different

More information

APACHE COTTON. MySQL on Mesos. Yan Xu xujyan

APACHE COTTON. MySQL on Mesos. Yan Xu xujyan APACHE COTTON MySQL on Mesos Yan Xu xujyan 1 SHORT HISTORY Mesos: cornerstone of Twitter s compute platform. MySQL: backbone of Twitter s data platform. Mysos: started as a hackweek project @twitter. Apache

More information

MRCP. Installation Manual. Developer Guide. Powered by Universal Speech Solutions LLC

MRCP. Installation Manual. Developer Guide. Powered by Universal Speech Solutions LLC Powered by Universal Speech Solutions LLC MRCP Installation Manual Developer Guide Revision: 39 Last updated: August 28, 2017 Created by: Arsen Chaloyan Universal Speech Solutions LLC Overview 1 Table

More information

CS 520: VCS and Git. Intermediate Topics Ben Kushigian

CS 520: VCS and Git. Intermediate Topics Ben Kushigian CS 520: VCS and Git Intermediate Topics Ben Kushigian https://people.cs.umass.edu/~rjust/courses/2017fall/cs520/2017_09_19.zip Our Goal Our Goal (Overture) Overview the basics of Git w/ an eye towards

More information

Leveraging Docker and CoreOS to provide always available Cassandra at Instaclustr

Leveraging Docker and CoreOS to provide always available Cassandra at Instaclustr Leveraging Docker and CoreOS to provide always available Cassandra at Instaclustr Adam Zegelin Founding Software Engineer & Co-founder of Instaclustr adam@instaclustr.com @zegelin Instaclustr Managed Apache

More information

Evaluation of MIPS Prelinking

Evaluation of MIPS Prelinking Evaluation of MIPS Prelinking Shin ichi TSURUMOTO MITSUBISHI Electric Corporation Advanced Technology R&D Center Overview Obtained prelinker for MIPS, compiler and libraries, and ran them on our target

More information

FreeBSD Jails vs. Solaris Zones

FreeBSD Jails vs. Solaris Zones FreeBSD Jails vs. Solaris Zones (and OpenSolaris) James O Gorman james@netinertia.co.uk Introduction FreeBSD user since 4.4-RELEASE Started using Solaris ~3.5 years ago Using jails for website hosting

More information

OpenSSL Software Foundation, Inc.

OpenSSL Software Foundation, Inc. OpenSSL Software Foundation, Inc 1829 Mount Ephraim Road Adamstown, MD 21710 USA +1 877 673 6775 support@opensslfoundationcom Instructions for CMVP Testing FreeBSD 100 on x86 July 20, 2014 Table of Contents

More information

ovirt and Docker Integration

ovirt and Docker Integration ovirt and Docker Integration October 2014 Federico Simoncelli Principal Software Engineer Red Hat 1 Agenda Deploying an Application (Old-Fashion and Docker) Ecosystem: Kubernetes and Project Atomic Current

More information

Freescale Semiconductor gcc linaro toolchain, Rev

Freescale Semiconductor gcc linaro toolchain, Rev ABOUT GCC LINARO 4.6.2 MULTILIB TOOLCHAIN 1 What s new... 2 2 What s inside... 2 3 How to use... 3 3.1 gcc... 3 3.2 Application debug tools... 5 4 Appendix... 6 4.1 Toolchain test result... 6 4.1.1 Test

More information

Manage Directories and Files in Linux. Objectives. Understand the Filesystem Hierarchy Standard (FHS)

Manage Directories and Files in Linux. Objectives. Understand the Filesystem Hierarchy Standard (FHS) Manage Directories and Files in Linux Objectives Understand the Filesystem Hierarchy Standard (FHS) Identify File Types in the Linux System Change Directories and List Directory Contents Create and View

More information

Security Architecture

Security Architecture Security Architecture We ve been looking at how particular applications are secured We need to secure not just a few particular applications, but many applications, running on separate machines We need

More information

Building Applications with IOx

Building Applications with IOx Building Applications with IOx DevNet 1031 Albert Mak, Senior Technical Lead, IOx, Enterprise Engineering DEVNET-1031 Agenda Applications in Fog/Edge Computing Introducing IOx IOx Application Enablement

More information

SCRAM User Manual. Further information can be obtained from the SCRAM home page which can be found at

SCRAM User Manual. Further information can be obtained from the SCRAM home page which can be found at SCRAM User Manual Documentation Author: S. Ashby, CERN EP Division. SCRAM Release: V0 19 7 Release Date: November 18, 2002 SCRAM (Software Configuration Release And Management) is a configuration management

More information

u-root: / with the convenience of scripting and the performance of compilation

u-root: / with the convenience of scripting and the performance of compilation u-root: / with the convenience of scripting and the performance of compilation Ron Minnich Google Andrey Mirtchovski Cisco Outline What u-root is Why we re doing it How it all works Try it! sudo docker

More information

Working in Teams CS 520 Theory and Practice of Software Engineering Fall 2018

Working in Teams CS 520 Theory and Practice of Software Engineering Fall 2018 Working in Teams CS 520 Theory and Practice of Software Engineering Fall 2018 Version Control September 18, 2018 Thursday (September 20) First in-class exercise On using git (today is a prelude with useful

More information

dpkg 2.0 Package Manager Design

dpkg 2.0 Package Manager Design dpkg 2.0 Package Manager Design Prepared for: HP By: Canonical Limited May 2, 2006 1 Introduction This document outlines the design for a new package manager intended to replace the dpkg package manager

More information

Pete s all things Sun: AMPing up your Web environment

Pete s all things Sun: AMPing up your Web environment Peter Baer Galvin Pete s all things Sun: AMPing up your Web environment Peter Baer Galvin is the chief technologist for Corporate Technologies, a premier systems integrator and VAR (www.cptech.com). Before

More information

File System. yihshih

File System. yihshih File System yihshih Files % ls l d rwx--x--x 7 wutzh gcs 1024 Sep 22 17:25 public_html File type File access mode # of links File user owner File group owner File size File last modify time 2 File name

More information

Introducing. By Olivier COCHARD LABBÉ, FreeNAS author and project manager until april 2008

Introducing. By Olivier COCHARD LABBÉ, FreeNAS author and project manager until april 2008 Introducing By Olivier COCHARD LABBÉ, FreeNAS author and project manager until april 2008 Plan What are: a NAS, an appliance and FreeNAS? Features Inside FreeNAS Example: Encrypted Software RAID 5 History

More information

pkgsrc on SmartOS Jonathan Perkin Software Engineer Saturday, 23 March 13

pkgsrc on SmartOS Jonathan Perkin Software Engineer  Saturday, 23 March 13 pkgsrc on SmartOS Jonathan Perkin Software Engineer Joyent @jperkin jperkin@joyent.com jperkin@pkgsrc.org Agenda Introduction History and background to SmartOS pkgsrc usage in SmartOS pkgsrc features we

More information

fpm-cookery Documentation

fpm-cookery Documentation fpm-cookery Documentation Release 0.33.0 Bernd Ahlers Jun 10, 2018 Contents 1 Features 3 2 Documentation Contents 5 2.1 Getting Started.............................................. 5 2.2 Using Hiera................................................

More information

Software Configuration Management Source Code & Build

Software Configuration Management Source Code & Build Software Configuration Management Source Code & Build Dar Nielsen 4:30-5:15 Mesquite GH Internal requirements for creating products Normalize & automate the expectations, and needs Testing Source Research

More information

Embedded Systems Programming

Embedded Systems Programming Embedded Systems Programming OS Linux - Toolchain Iwona Kochańska Gdansk University of Technology Embedded software Toolchain compiler and tools for hardwaredependent software developement Bootloader initializes

More information

CS 25200: Systems Programming. Lecture 11: *nix Commands and Shell Internals

CS 25200: Systems Programming. Lecture 11: *nix Commands and Shell Internals CS 25200: Systems Programming Lecture 11: *nix Commands and Shell Internals Dr. Jef Turkstra 2018 Dr. Jeffrey A. Turkstra 1 Lecture 11 Shell commands Basic shell internals 2018 Dr. Jeffrey A. Turkstra

More information

The build2 Package Manager

The build2 Package Manager The build2 Package Manager Copyright 2014-2018 Code Synthesis Ltd Permission is granted to copy, distribute and/or modify this document under the terms of the MIT License Revision 08, September 2018 This

More information

Managing build infrastructure of a Debian derivative

Managing build infrastructure of a Debian derivative Managing build infrastructure of a Debian derivative Andrej Shadura 4 February 2018 Presentation Outline Who am I Enter Apertis Build infrastructure Packaging workflows Image builds Andrej Shadura contributing

More information

NetBSD BSDCan 2016 quickie

NetBSD BSDCan 2016 quickie NetBSD 2016 BSDCan 2016 quickie Who am I? Masanobu SAITOH msaitoh@netbsd.org (masanobu@iij.ad.jp) msaitoh@jin-magic.com What did I? (past) Became a NetBSD developer in 1997 NetBSD/sh3 Port NetBSD to dreamcast

More information

RHEL Packaging. (making life easier with RPM) Jindr ich Novy Ph.D., June 26, 2012

RHEL Packaging. (making life easier with RPM) Jindr ich Novy Ph.D., June 26, 2012 RHEL Packaging (making life easier with RPM) Jindr ich Novy Ph.D., jnovy@redhat.com June 26, 2012 RHEL Packaging 1/30 Agenda 1 How Red Hat Enterprise Linux is packaged 2 Software Collections (SCLs) Filesystem

More information

Directory structure and development environment set up

Directory structure and development environment set up Directory structure and development environment set up 1. Install ANT: Download & unzip (or untar) the ant zip file - jakarta-ant-1.5.1-bin.zip to a directory say ANT_HOME (any directory is fine) Add the

More information

CSCI 2132 Software Development. Lecture 4: Files and Directories

CSCI 2132 Software Development. Lecture 4: Files and Directories CSCI 2132 Software Development Lecture 4: Files and Directories Instructor: Vlado Keselj Faculty of Computer Science Dalhousie University 12-Sep-2018 (4) CSCI 2132 1 Previous Lecture Some hardware concepts

More information

A simple tutorial on generating PTX assembler out of Ada source code using LLVM NVPTX backend

A simple tutorial on generating PTX assembler out of Ada source code using LLVM NVPTX backend Institute of Computational Science A simple tutorial on generating PTX assembler out of Ada source code using LLVM NVPTX backend Dmitry Mikushin dmitrymikushin@usich September 14, 2012 Dmitry Mikushin

More information

User Manual. 1. Open pjsip-apps/build/wince-evc4/wince_demos.vcw EVC4 workspace, 2. Build the pjsua_wince application.

User Manual. 1. Open pjsip-apps/build/wince-evc4/wince_demos.vcw EVC4 workspace, 2. Build the pjsua_wince application. User Manual 1. Information Building with GNU tools (Linux, *BSD, MacOS X, mingw, etc.) Generally these should be all that are needed to build the libraries, applications, and samples: $./configure $ make

More information

The FreeBSD Package Cluster

The FreeBSD Package Cluster The FreeBSD Package Cluster Kris Kennaway kris@freebsd.org BSDCan 2005, Ottawa, May 13 Outline Goals of the package cluster Challenges Overview of cluster architecture and implementation Anatomy of package

More information

ns-3 Training Session 4: Monday 3:30pm ns-3 Annual Meeting May 2014

ns-3 Training Session 4: Monday 3:30pm ns-3 Annual Meeting May 2014 ns-3 Training Session 4: Monday 3:30pm ns-3 Annual Meeting 1 Writing and debugging your own examples NS-3 Annual Meeting 2 Writing and debugging new programs Choosing between Python and C++ Reading existing

More information

Using Eclipse for C Programming

Using Eclipse for C Programming Using Eclipse for C Programming George Ferguson ferguson@cs.rochester.edu June 2018 Abstract Students are used to using the Eclipse IDE for programming in Java. This document describes how to install and

More information

ECE260: Fundamentals of Computer Engineering

ECE260: Fundamentals of Computer Engineering ECE260: Fundamentals of Computer Engineering Translation of High-Level Languages James Moscola Dept. of Engineering & Computer Science York College of Pennsylvania ECE260: Fundamentals of Computer Engineering

More information