wok-current diff linux-aufs/receipt @ rev 24272
updated perltidy (20200110 -> 20211029)
author | Hans-G?nter Theisgen |
---|---|
date | Sun Jan 02 10:48:51 2022 +0100 (2022-01-02) |
parents | da48d3800edf |
children | c3a6f662a1c1 |
line diff
1.1 --- a/linux-aufs/receipt Sun Nov 14 20:30:13 2021 +0000 1.2 +++ b/linux-aufs/receipt Sun Jan 02 10:48:51 2022 +0100 1.3 @@ -26,9 +26,12 @@ 1.4 compile_rules() 1.5 { 1.6 # Must match kernel version 1.7 - [ -d fs ] && rm -rf * 1.8 - kver=$(. $WOK/linux/receipt ; echo $VERSION) 1.9 - git checkout origin/aufs${kver%.*} 1.10 + #[ -d fs ] && rm -rf * 1.11 + 1.12 + if [ ! -d fs ]; then 1.13 + kver=$(. $WOK/linux/receipt ; echo $VERSION) 1.14 + git checkout origin/aufs${kver%.*} 1.15 + fi 1.16 1.17 sed -i \ 1.18 -e 's|CONFIG_AUFS_BRANCH_MAX_127 =.*|CONFIG_AUFS_BRANCH_MAX_127 =|' \ 1.19 @@ -40,7 +43,7 @@ 1.20 -e 's|CONFIG_AUFS_BDEV_LOOP =.*|CONFIG_AUFS_BDEV_LOOP = y|' \ 1.21 -e 's|CONFIG_AUFS_BR_RAMFS =.*|CONFIG_AUFS_BR_RAMFS = y|' \ 1.22 -e 's|CONFIG_AUFS_DEBUG =.*|CONFIG_AUFS_DEBUG =|' config.mk 1.23 - 1.24 + 1.25 # The sed fixes are from gentoo portage build. 1.26 sed -i "s:aufs.ko usr/include/uapi/linux/aufs_type.h:aufs.ko:g" Makefile 1.27 sed -i "s:aufs.ko usr/include/linux/aufs_type.h:aufs.ko:g" Makefile 1.28 @@ -48,7 +51,7 @@ 1.29 1.30 sed -i 's/d_u.d_child/d_child/' fs/aufs/dcsub.c fs/aufs/hnotify.c 1.31 sed -i 's/ d_alias/ d_u.d_alias/' fs/aufs/hnotify.c fs/aufs/export.c 1.32 - 1.33 + 1.34 make ARCH=i386 KDIR=/usr/src/linux 1.35 xz -f fs/aufs/aufs.ko 1.36 }