source: common/kernfs.xsl@ 24ad4fd

ablfs-more trunk
Last change on this file since 24ad4fd was 87eb9e9, checked in by Pierre Labastie <pierre.labastie@…>, 2 years ago

Make the kernel filesystem scriptlets executable

This is so that they can be run from the main Makefile, instead
of having to edit them to put them inside the Makefile.

  • Property mode set to 100644
File size: 682 bytes
RevLine 
[13c475b]1<?xml version="1.0" encoding="ISO-8859-1"?>
2
3<xsl:stylesheet
4 xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
5 version="1.0">
6
7 <xsl:output method="text"/>
8
9 <xsl:template match="/">
[87eb9e9]10 <xsl:text>#!/bin/bash
11</xsl:text>
[13c475b]12 <xsl:apply-templates select="//userinput[contains(string(),'--bind') or
13 contains(string(),'/proc') or
[47dfc81]14 contains(string(),'readlink') or
15 contains(string(),'-Rv')]"/>
[13c475b]16 </xsl:template>
17
18 <xsl:template match="userinput">
19 <xsl:apply-templates/>
20 <xsl:text>
21</xsl:text>
22 </xsl:template>
23
24</xsl:stylesheet>
Note: See TracBrowser for help on using the repository browser.