source: common/kernfs.xsl@ 6f74ca1

ablfs-more legacy trunk
Last change on this file since 6f74ca1 was 13c475b, checked in by Pierre Labastie <pierre@…>, 6 years ago

Get virtual kernel filesystem commands from the book, and really add
/run/systemd/resolve/resolv.conf after creating the kernel FS in chapter 6

  • Property mode set to 100644
File size: 632 bytes
Line 
1<?xml version="1.0" encoding="ISO-8859-1"?>
2
3<!-- $Id: kernfs.xsl 3776 2014-01-12 21:43:04Z pierre $ -->
4
5<xsl:stylesheet
6 xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
7 version="1.0">
8
9 <xsl:output method="text"/>
10
11 <xsl:template match="/">
12 <xsl:apply-templates select="//userinput[contains(string(),'--bind') or
13 contains(string(),'/proc') or
14 contains(string(),'readlink')]"/>
15 </xsl:template>
16
17 <xsl:template match="userinput">
18 <xsl:apply-templates/>
19 <xsl:text>
20</xsl:text>
21 </xsl:template>
22
23</xsl:stylesheet>
Note: See TracBrowser for help on using the repository browser.