Skip to content

Commit

Permalink
config-rootfs: fix wrongly symbolic links for rsync-rootfs-version
Browse files Browse the repository at this point in the history
root /# ll export/eywa-x86_64-20161012-1/etc/rsync-rootfs-version
lrwxrwxrwx 1 root lkp 34 2016-10-13 17:28 export/eywa-x86_64-20161012-1/etc/rsync-rootfs-version -> eywa-x86_64-20161012-1/etc/version

Signed-off-by: Wenzhong Sun <[email protected]>
Signed-off-by: Philip Li <[email protected]>
  • Loading branch information
Wenzhong Sun authored and rli9 committed Oct 20, 2016
1 parent 3f31f1f commit 2e13246
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion distro/config-rootfs/common/update-rsync-rootfs-version
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ ROOTFS=$1
# $ROOTFS/etc/rsync-rootfs-version is used for comparing the version
# between local and remote rootfs when doing rsync.
if [ -f $ROOTFS/etc/version ];then
ln -sf $ROOTFS/etc/version $ROOTFS/etc/rsync-rootfs-version
cd $ROOTFS/etc && ln -s version rsync-rootfs-version
else
date +%Y%m%d%H%M%S > $ROOTFS/etc/rsync-rootfs-version
fi

0 comments on commit 2e13246

Please sign in to comment.