Check-in [cd9fca5677]
Overview
Comment:Made manifest checking more stringent
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1:cd9fca567750c5ba2553995099c6f25aedb5cb92
User & Date: rkeene on 2014-11-11 17:17:56
Other Links: manifest | tags
Context
2014-11-11
17:18
Added start of CPIO mode for appfs-mkfs check-in: 2e9fc0f81c user: rkeene tags: trunk
17:17
Made manifest checking more stringent check-in: cd9fca5677 user: rkeene tags: trunk
05:16
Updated to be more tolerant of future expansions to the manifest format check-in: 859f8f6c54 user: rkeene tags: trunk
Changes

Modified appfsd.tcl from [60c35bda95] to [d81f339499].

   305    305   
   306    306   		return COMPLETE
   307    307   	}
   308    308   
   309    309   	proc getpkgmanifest {hostname package_sha1} {
   310    310   		set haveManifest [db onecolumn {SELECT haveManifest FROM packages WHERE sha1 = $package_sha1 LIMIT 1;}]
   311    311   
   312         -		if {$haveManifest} {
          312  +		if {$haveManifest == "1"} {
   313    313   			return COMPLETE
   314    314   		}
   315    315   
   316    316   		if {![_isHash $package_sha1]} {
   317    317   			return FAIL
   318    318   		}
   319    319