Check-in [cd7064a3fe]
Overview
Comment:Corrected site index generation
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1:cd7064a3fef414a2540f710e8b9e4a58bf70ddef
User & Date: rkeene on 2014-09-09 08:12:02
Other Links: manifest | tags
Context
2014-09-09
08:19
Updated to keep track of the upstream OS name and CPU check-in: ed608e7fee user: rkeene tags: trunk
08:12
Corrected site index generation check-in: cd7064a3fe user: rkeene tags: trunk
07:51
Fixed bug where blank extraData was added check-in: 95ec92e5d0 user: rkeene tags: trunk
Changes

Modified appfs-mk from [a0e025f3a4] to [ce86fe818d].

    85     85   			echo "${type},${stat_data},${extra_data},${filename}"
    86     86   		fi
    87     87   	done
    88     88   }
    89     89   
    90     90   cd "${pkgsdir}" || exit 1
    91     91   
           92  +packagelistfile="${appfsdir}/sha1/${RANDOM}${RANDOM}${RANDOM}${RANDOM}${RANDOM}.tmp"
    92     93   for package in *; do
    93         -	packagelistfile="${appfsdir}/sha1/${RANDOM}${RANDOM}${RANDOM}${RANDOM}${RANDOM}.tmp"
    94     94   	(
    95     95   		cd "${package}" || exit 1
    96     96   
    97     97   		for os_cpuArch in *; do
    98     98   			os="$(echo "${os_cpuArch}" | cut -f 1 -d '-')"
    99     99   			cpuArch="$(echo "${os_cpuArch}" | cut -f 2- -d '-')"
   100    100   
................................................................................
   122    122   					isLatest='0'
   123    123   
   124    124   					echo "${package},${version},${os},${cpuArch},${manifestfile_hash},${isLatest}"
   125    125   				done
   126    126   
   127    127   			)
   128    128   		done
   129         -	) > "${packagelistfile}"
          129  +	)
   130    130   
   131         -	packagelistfile_hash="$(sha1 "${packagelistfile}")"
   132         -	mv "${packagelistfile}" "${appfsdir}/sha1/${packagelistfile_hash}"
          131  +done > "${packagelistfile}"
          132  +packagelistfile_hash="$(sha1 "${packagelistfile}")"
          133  +mv "${packagelistfile}" "${appfsdir}/sha1/${packagelistfile_hash}"
   133    134   
   134         -	echo "${packagelistfile_hash},sha1" > "${appfsdir}/index"
   135         -done
          135  +echo "${packagelistfile_hash},sha1" > "${appfsdir}/index"