From 008857bfcfefc35df7076594c657b78198e900d3 Mon Sep 17 00:00:00 2001 From: Juan RP Date: Fri, 9 Oct 2009 03:19:36 +0200 Subject: [PATCH] xbps-casper: make it parse "toram" boot parameter. Bump revision. --HG-- extra : convert_revision : 1c6031ea026f67bf7c1e93254e1dcf431c2cee26 --- templates/xbps-casper/files/scripts/casper | 2 ++ templates/xbps-casper/template | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/templates/xbps-casper/files/scripts/casper b/templates/xbps-casper/files/scripts/casper index 4611eb57e45..3a6265f8940 100644 --- a/templates/xbps-casper/files/scripts/casper +++ b/templates/xbps-casper/files/scripts/casper @@ -31,6 +31,8 @@ fi parse_cmdline() { for x in $(cat /proc/cmdline); do case $x in + toram) + export TORAM='Yes' ;; showmounts|show-cow) export SHOWMOUNTS='Yes' ;; persistent) diff --git a/templates/xbps-casper/template b/templates/xbps-casper/template index ff1791817cb..cf7834f29df 100644 --- a/templates/xbps-casper/template +++ b/templates/xbps-casper/template @@ -1,6 +1,6 @@ # Template file for 'xbps-casper' pkgname=xbps-casper -version=0.1 +version=0.2 build_style=custom-install short_desc="Run a live preinstalled system from read-only media" maintainer="Juan RP "