On Monday 06 July 2009 16:22:17 Garrett Cooper wrote: > The end goal of this patch is to make IDcheck.sh more rootfs- / cross- > compilation friendly, such that it can be run from the primary compile > instance, and instead of attempting to manipulate the target system > data, manipulate the sys-root / rootfs data through the use of DESTDIR > and by relaxing certain checks. Most of the checks were unnecessary > anyhow (am i root?), etc and can be easily remedied by just relying on > the other checks made by touch(1)'ing files and the post-process > operation, as ENOPERM will be returned if one cannot access the > configuration file of interest. > > Also, use awk for all operations instead of grep because it will > reduces the potential for random failures when dealing with /etc/group > and /etc/passwd files, and we can switch over to one subroutine > instead of multiple subroutines for checks.
please use unified diffs only -mike
signature.asc
Description: This is a digitally signed message part.
------------------------------------------------------------------------------
_______________________________________________ Ltp-list mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/ltp-list
