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
306
307
308
309
310
311
312

313
314
315
316
317
318
319
305
306
307
308
309
310
311

312
313
314
315
316
317
318
319







-
+








		return COMPLETE
	}

	proc getpkgmanifest {hostname package_sha1} {
		set haveManifest [db onecolumn {SELECT haveManifest FROM packages WHERE sha1 = $package_sha1 LIMIT 1;}]

		if {$haveManifest} {
		if {$haveManifest == "1"} {
			return COMPLETE
		}

		if {![_isHash $package_sha1]} {
			return FAIL
		}