tiny-slitaz rev 25
Add mkrootfs.pre_exec
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Sep 06 11:02:35 2019 +0200 (2019-09-06) |
parents | 7175c3b32b23 |
children | 406c6fe80674 |
files | helper |
line diff
1.1 --- a/helper Sun Sep 01 18:10:39 2019 +0200 1.2 +++ b/helper Fri Sep 06 11:02:35 2019 +0200 1.3 @@ -397,6 +397,7 @@ 1.4 if [ "x$1" = "x--mkrootfs" ]; then 1.5 tmp=$2 1.6 cd $tmp/fs 1.7 + [ -s boot/mkrootfs.pre_exec ] && sh boot/mkrootfs.pre_exec 1.8 if [ ! -d boot -a -s ../kernel ]; then # custom kernel 1.9 mkdir boot 1.10 cp ../kernel boot/bzImage