ChorusOS 5.0 Source Delivery Guide

Chapter 5 Patches

This chapter briefly describes patches for ChorusOS source code, how to apply them and how to remove them.

Introduction

Source code patches for the ChorusOS operating system closely resemble patches for binary deliveries. However, since the source code package is effectively an "add-on" to the binary package, inter-package dependency between source and binary packages requires that both the source and the binary package be patched in order for the patch to work.

In other words, when patching a source code delivery of the ChorusOS operating system, you must patch all the associated installed parts, namely the base operating system and the added components.

How to Apply Patches

Apply new source code patches using the following command:


host% /usr/sbin/patchadd patch_id 

How to Remove Patches

Remove existing source code patches using the following command:


host% /usr/sbin/patchrm patch_id