Overview
Comment: | Added a CPIO input mode for "appfs-mkfs" |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | trunk |
Files: | files | file ages | folders |
SHA1: |
5bdc276f5794ff801eb26916a17998f0 |
User & Date: | rkeene on 2014-11-11 18:38:11 |
Other Links: | manifest | tags |
Context
2014-11-11
| ||
18:45 | Updated to skip files in packages directory check-in: 78bd73355f user: rkeene tags: trunk | |
18:38 | Added a CPIO input mode for "appfs-mkfs" check-in: 5bdc276f57 user: rkeene tags: trunk | |
17:48 | Updated to not continue to reset interpreters forever after a restart request check-in: 65a6138eb6 user: rkeene tags: trunk | |
Changes
Modified appfs-mkfs from [7f99548475] to [2461e4ba43].
1 2 3 4 5 6 7 8 9 10 | 1 2 3 4 5 6 7 8 9 10 11 12 | + + | #! /usr/bin/env bash if [ "$1" == '--cpio' ]; then shift mode='file' pkgfile="$1" else mode='dir' pkgsdir="$1" |
︙ | |||
91 92 93 94 95 96 97 98 99 100 101 102 | 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 | + + + + - - + + + + + + + + + + + + + + + + + + + + + + + + - | echo "${type},${stat_data},${filename}" else echo "${type},${stat_data},${extra_data},${filename}" fi done } packagelistfile="${appfsdir}/sha1/${RANDOM}${RANDOM}${RANDOM}${RANDOM}${RANDOM}.tmp" default_isLatest='0' case "${mode}" in dir) cd "${pkgsdir}" || exit 1 ;; file) oldpackagelistfile="${appfsdir}/sha1/$(cat "${appfsdir}/index" | head -n 1 | cut -f 1 -d ',')" |
︙ | |||
131 132 133 134 135 136 137 | 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 | - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - + + + + + + + + + | emit_manifest ) > "${manifestfile}" manifestfile_hash="$(sha1 "${manifestfile}")" mv "${manifestfile}" "${appfsdir}/sha1/${manifestfile_hash}" # XXX:TODO: Determine if this is the latest version |